* test/automated/vc-hg.el
(vc-hg-annotate-extract-revision-at-line-with-filename)
(vc-hg-annotate-extract-revision-at-line-with-both):
Don't refer to source-directory.
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
(should (equal (vc-hg-annotate-extract-revision-at-line)
(cons
"215"
- (expand-file-name "test/automated/CONTENTS"
- source-directory))))))
+ (expand-file-name "CONTENTS"))))))
(ert-deftest vc-hg-annotate-extract-revision-at-line-with-user ()
(with-temp-buffer
(should (equal (vc-hg-annotate-extract-revision-at-line)
(cons
"218075"
- (expand-file-name "test/automated/CLOBBER"
- source-directory))))))
+ (expand-file-name "CLOBBER"))))))
(ert-deftest vc-hg-annotate-time ()
(with-temp-buffer