On Thursday 11 January 2007 15:15, Byron Brummer wrote:
> svn log -r10:20 path@ALL
>
> Results in the history of path between revs 10 and 20
> inclusive, irregardless of peg version changes or
> existence.
>
> svn log --action A path@ALL
>
> Results in all log entries where path was Added,
> regardless of the peg versions.
>
> svn log --action D path@1234
[...]
Mmmm, I see what you're going for. It could keep backward compatibility
with current usage, but let you find those deletions.
The reason I don't like it is because I have already a hard time
keeping up with all the syntax ideas that keep getting added to
tools because someone else wanted something different. Subversion is
deliberately removing those types that were in CVS. Big example:
Perl language.
I like the first idea better, where -r[start]:[stop], whatever values
used, should still be possible as long as it exists within the start/stop
range:
##we want this to work, but doesn't
# svn log -r1:HEAD -v svn://localhost/robox/trunk/robots/buzz/sys/localvolctl.h
------------------------------------------------------------------------
r35 | (no author) | 2006-10-05 11:25:02 -0600 (Thu, 05 Oct 2006) | 1 line
Changed paths:
M /trunk/robots/buzz/sys/localvolctl.h
modified header
------------------------------------------------------------------------
r38 | (no author) | 2006-12-16 12:28:06 -0700 (Sat, 16 Dec 2006) | 1 line
Changed paths:
D /trunk/robots/buzz/sys/localvolctl.h
did not need some files anymore
------------------------------------------------------------------------
##currently how I search deleted files (could make script)
# svn log -v svn://localhost/robox/trunk/robots/buzz/sys/ |grep '^r[0-9]\|^ D '
r38 | (no author) | 2006-12-16 12:28:06 -0700 (Sat, 16 Dec 2006) | 1 line
D /trunk/robots/buzz/ctl/sci_interrupt.c
D /trunk/robots/buzz/ctl/vectors.s
D /trunk/robots/buzz/startup.s
D /trunk/robots/buzz/sys/localvolctl.h
r35 | (no author) | 2006-10-05 11:25:02 -0600 (Thu, 05 Oct 2006) | 1 line
D /trunk/robots/buzz/ctl/eeprom.h
D /trunk/robots/buzz/vectors.s
##this shows how we find no deletion info in rev 37 nor 38.
## rev 37 shows nothing because I didn't do anything with the file there.
# svn log -r37 -v svn://localhost/robox/trunk/robots/buzz/sys/localvolctl.h
------------------------------------------------------------------------
# svn log -r38 -v \
svn://localhost/robox/trunk/robots/buzz/sys/localvolctl.h
svn: File not found: revision 38, path '/trunk/robots/buzz/sys/localvolctl.h'
** didn't find because is deleted in rev 38 --makes sense
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 12 01:52:48 2007