subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Shepelev <>
Subject Re: svn diff -c does not accept HEAD
Date Tue, 08 Dec 2020 12:44:21 GMT
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.

View raw message