Support viewing VC change history across renames (Git, Hg)

* lisp/vc/vc.el (vc-print-log-setup-buttons):
When the log ends at a rename, add a button to jump to the
previous names.  Use the new backend action 'file-name-changes'.

* lisp/vc/vc-git.el (vc-git-print-log-follow): New option.
(vc-git-file-name-changes): Implementation (bug#55871, bug#39044).
(vc-git-print-log-follow): Update docstring.

* lisp/vc/log-view.el (log-view-find-revision)
(log-view-annotate-version): Pass the log's VC backend explicitly.

* lisp/vc/vc-hg.el (vc-hg-file-name-changes):
Add Hg implementation (bug#13004).

* etc/NEWS: Mention the changes.
10 jobs for master in 176 minutes and 50 seconds (queued for 7 seconds)
Status Job ID Name Coverage
  Build Images
failed #78470
build-image-inotify

02:56:47

 
  Normal
skipped #78471
test-all-inotify
 
  Platform Images
failed #78472
build-image-eglot

01:56:51

failed #78474
build-image-gnustep

02:56:32

failed #78473
build-image-tree-sitter

01:56:42

 
  Platforms
skipped #78475
test-eglot
skipped #78477
test-gnustep
skipped #78476
test-tree-sitter
 
  Native Comp Images
failed #78478
build-native-comp-speed2

02:56:29

 
  Native Comp
skipped #78479
test-native-comp-speed2
 
Name Stage Failure
failed
build-image-inotify Build Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#12 2436.   GEN      ../lisp/leim/quail/Punct-b5.el
#12 2441. GEN ../lisp/leim/quail/PY-b5.el
#12 2445. GEN ../lisp/leim/quail/QJ-b5.el
#12 2450. GEN ../lisp/leim/quail/ZOZY.el
#12 2455. GEN ../lisp/leim/quail/tsang-b5.el
#12 2462. GEN ../lisp/leim/quail/tsang-cns.el
#12 2469. GEN ../lisp/leim/quail/PY.el
#12 2474. GEN ../lisp/leim/quail/ZIRANMA.el
#12 2481. GEN ../lisp/leim/quail/CTLau.el
#12 2486. GEN ../lisp/leim/quail/CTLau-b5.el
failed
build-image-gnustep Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#12 2190.   CC       profiler.o
#12 2195. CC decompress.o
#12 2198. CC thread.o
#12 2204. CC systhread.o
#12 2206. CC sqlite.o
#12 2209. CC treesit.o
#12 2211. CC itree.o
#12 2217. CC fontset.o
#12 2235. CC fringe.o
#12 2250. CC image.o
failed
build-native-comp-speed2 Native Comp Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#12 2089.   CC       floatfns.o
#12 2124. CC fns.o
#12 2136. CC sort.o
#12 2147. CC font.o
#12 2156. CC print.o
#12 2226. CC lread.o
#12 2228. CC emacs-module.o
#12 2264. CC syntax.o
#12 2293. CC bytecode.o
#12 2294. CC comp.o
failed
build-image-tree-sitter Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#12 1556.   CC       indent.o
#12 1576. CC search.o
#12 1601. CC regex-emacs.o
#12 1656. CC undo.o
#12 1661. CC alloc.o
#12 1688. CC pdumper.o
#12 1712. CC data.o
#12 1745. GEN buildobj.h
#12 1747. CC doc.o
#12 1754. CC editfns.o
failed
build-image-eglot Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#12 1471.   CC       marker.o
#12 1478. CC minibuf.o
#12 1496. CC fileio.o
#12 1528. CC dired.o
#12 1535. CC cmds.o
#12 1541. CC casetab.o
#12 1545. CC casefiddle.o
#12 1551. CC indent.o
#12 1572. CC search.o
#12 1597. CC regex-emacs.o