; * lisp/vc/vc-hg.el (vc-hg-revision-published-p): Simplify.

This commit is contained in:
Sean Whitton 2025-10-26 14:53:20 +00:00
parent bb5a03592f
commit 97c000de0f

View file

@ -1837,7 +1837,7 @@ Cannot relocate first working tree because this would break other working trees"
Always has to fetch, like `vc-hg-incoming-revision' does."
(with-temp-buffer
(vc-hg-command t 0 nil "log" (format "--rev=outgoing() and %s" rev))
(<= (point-max) 1)))
(bobp)))
(provide 'vc-hg)