subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Hartman <hartman.nat...@gmail.com>
Subject Re: svn diff -c does not accept HEAD
Date Tue, 08 Dec 2020 13:51:22 GMT
On Tue, Dec 8, 2020 at 7:44 AM Anton Shepelev <anton.txt@gmail.com> wrote:

> Nathan Hartman:
>
> > A possible rationale is that the HEAD revision could
> > change without your knowledge (e.g., another user commits
> > something in the meantime) and you wouldn't get the
> > revision you were expecting.
> >
> > When I want to see the diff of the most recent revision I
> > use 'svn log -l 1 --diff'. (Note, though, that will be
> > from the BASE revision, not HEAD.)
>
> Thanks for the explanation, Nathan and Daniel, but svn diff
> -c does not support `BASE' either. Futhermore, from the
> viewpoint of consistency, it would be natural for -c and -r
> to accept exactly the same set of values, whose parsing
> would be implemented in the same piece of code.



Hi Anton,

Yes, 'svn diff -c' does not accept BASE or HEAD, only numeric arguments.

You could file it as a bug report / feature request, but since that has
been the case for a very long time, perhaps the most effective way to get
it changed is to submit a patch for review to the dev@ list.

Cheers,
Nathan

Mime
View raw message