GNU bug report logs - #33650
27.0.50; Root diffs between revisions

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Thu, 6 Dec 2018 22:33:01 UTC

Severity: wishlist

Found in version 27.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 33650 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 33650 <at> debbugs.gnu.org
Subject: Re: bug#33650: 27.0.50; Root diffs between revisions
Date: Fri, 07 Dec 2018 08:41:44 +0200
> From: Juri Linkov <juri <at> linkov.net>
> Date: Thu, 06 Dec 2018 23:54:16 +0200
> 
> This patch fixes this omission by implementing `vc-root-version-diff'
> that is able to compare two revisions even on separate branches from
> their roots:

Thanks.  A few comments:

> +(defun vc-root-version-diff (_files rev1 rev2)
> +  "Report diffs between revisions of the whole tree in the repository history."

This doc string doesn't describe the arguments, and doesn't tell how
those arguments are populated in interactive invocations.

I also wonder what would this mean for a VCS such as CVS or RCS, where
there's no meaning of a "tree revision".  I'm guessing this is why the
old code deduced files to diff.  See also the description of vc-diff
in the Emacs manual.

Finally, we need documentation changes to go with this change of
user-visible behavior.




This bug report was last modified 6 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.