Re: svn diff -c does not accept HEAD

2020-12-09 Thread Vincent Lefevre
On 2020-12-09 21:15:08 +0100, Vincent Lefevre wrote: > On 2020-12-08 00:00:16 +, Daniel Shahaf wrote: > > Nathan Hartman wrote on Mon, 07 Dec 2020 20:50 +00:00: > > > 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

Re: svn diff -c does not accept HEAD

2020-12-09 Thread Vincent Lefevre
On 2020-12-08 00:00:16 +, Daniel Shahaf wrote: > Nathan Hartman wrote on Mon, 07 Dec 2020 20:50 +00:00: > > 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.) > > There's also «svn log -r

Re: svn diff -c does not accept HEAD

2020-12-08 Thread Stefan Sperling
On Tue, Dec 08, 2020 at 03:44:21PM +0300, Anton Shepelev 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. > > >

Re: svn diff -c does not accept HEAD

2020-12-08 Thread Nathan Hartman
On Tue, Dec 8, 2020 at 7:44 AM Anton Shepelev 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 w

Re: svn diff -c does not accept HEAD

2020-12-08 Thread Anton Shepelev
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

Re: svn diff -c does not accept HEAD

2020-12-07 Thread Daniel Shahaf
Nathan Hartman wrote on Mon, 07 Dec 2020 20:50 +00:00: > On Mon, Dec 7, 2020 at 1:47 PM Yasuhito FUTATSUKI > wrote: > > > > As the error message says, '-c' option accepts only numeric revision. > > It seems it is a kind of bug that the help text is not kind enough. > > A possible rationale is

Re: svn diff -c does not accept HEAD

2020-12-07 Thread Nathan Hartman
On Mon, Dec 7, 2020 at 1:47 PM Yasuhito FUTATSUKI wrote: > > As the error message says, '-c' option accepts only numeric revision. > It seems it is a kind of bug that the help text is not kind enough. A possible rationale is that the HEAD revision could change without your knowledge (e.g., anot

Re: svn diff -c does not accept HEAD

2020-12-07 Thread Yasuhito FUTATSUKI
Hi, In article <20201207201138.4ef0e7d22934ff7511c7c...@gmail.com> anton@gmail.com writes: > Hello, all > > According to the documentation for svn diff, > >The -c M option is equivalent to -r N:M where N = M-1 > > The documation of the -c option agrees: > >this option is syntactic

svn diff -c does not accept HEAD

2020-12-07 Thread Anton Shepelev
Hello, all According to the documentation for svn diff, The -c M option is equivalent to -r N:M where N = M-1 The documation of the -c option agrees: this option is syntactic sugar for -r ARG-1:ARG. I tried it: svn diff -r HEAD:6876 [works] svn diff -c HEAD [fails] The -c op