Re: svn diff -c does not accept HEAD
From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 08 Dec 2020 00:00:16 +0000
Nathan Hartman wrote on Mon, 07 Dec 2020 20:50 +00:00:
If this were the rationale, we wouldn't support «svn log -r HEAD» either.
Use of «HEAD» to refer to any specific revision is inherently racy.
There isn't any conceptual problem with defining «-c HEAD» to mean
(Why? For one, because -c is a lot newer than -r: -c was added in 1.4.0 (sic),
Note that «svn diff -c HEAD» isn't generally a useful call unless the
> When I want to see the diff of the most recent revision I use 'svn log
There's also «svn log -r HEAD:0 -l 1 --diff».
Cheers,
Daniel
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.