You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Paul Burba <pt...@gmail.com> on 2010/04/27 21:04:44 UTC

svndumpfilter --renumber-revs and --drop-empty-revs

Is the --renumber-revs option to svndumpfilter supposed to do anything
when the --drop-empty-revs option is *not* present?

The help text is a bit vague "--renumber-revs : Renumber revisions
left after filtering." and the "book" seems to say that it doesn't:

[[[
  --renumber-revs

    If empty revisions are dropped (using the --drop-empty-revs option),
    change the revision numbers of the remaining revisions so that there
    are no gaps in the numeric sequence.
]]]

I can't see that it should do anything, except maybe renumber a
partial dump to start at r1.  Anyhow, just making sure I got this
straight.

Paul

Re: svndumpfilter --renumber-revs and --drop-empty-revs

Posted by "C. Michael Pilato" <cm...@collab.net>.
Paul Burba wrote:
> Is the --renumber-revs option to svndumpfilter supposed to do anything
> when the --drop-empty-revs option is *not* present?
> 
> The help text is a bit vague "--renumber-revs : Renumber revisions
> left after filtering." and the "book" seems to say that it doesn't:
> 
> [[[
>   --renumber-revs
> 
>     If empty revisions are dropped (using the --drop-empty-revs option),
>     change the revision numbers of the remaining revisions so that there
>     are no gaps in the numeric sequence.
> ]]]
> 
> I can't see that it should do anything, except maybe renumber a
> partial dump to start at r1.  Anyhow, just making sure I got this
> straight.

I'm pretty sure that if --drop-empty-revs is not in use, --renumber-revs
does nothing at all.  And I think that's the intent for now, not an oversight.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand