[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: possible improvement to svn log with "forward" revision range

From: Avalon <third-chance_at_gmx.de>
Date: Mon, 30 May 2011 13:52:32 +0200

>>>> For 'svn log -rX:Y PATH_at_PEG, where Y> PEG, don't croak when PATH_at_Y
>>>> doesn't exist. Instead, automatically substitute for Y the last revision
>>>> in
>>>> which PATH_at_THAT-REV *did* exist, and continue the operation. I believe
>>>> this
>>>> is something that we can reasonably achieve without too much trouble and,
>>>> more importantly, in a client-side change (which helps with client/server
>>>> compatibility).
>>>
>> This might help: http://svn.haxx.se/dev/archive-2011-04/0215.shtml
>

i have attached a patch to the issue tracker (see http://subversion.tigris.org/issues/show_bug.cgi?id=3830) and tested the described use cases:
   svn log -rX:Y PATH_at_PEG
   - where Y > X and Y > PEG even if PATH_at_PEG has been deleted in revision Z, where PEG < Z < Y
   - It works for me with either Y being a revision number, HEAD, or even e.g. a datetime.

Since this is my first time digging into subversion it is very likely that i did something totally wrong, mis-used API, or overlooked obvious regressions.

Could someone of the devs please take a closer look?
I am willing to improve the patch based on concrete suggestions.

Dirk
Received on 2011-05-30 13:53:05 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.