You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Josef Wolf <jw...@raven.inka.de> on 2004/03/11 17:56:22 UTC

svndumpfilter questions.

Hello!

I have two questions about svndumpfilter which seem not to be answered in
the svnbook:

1. The --drop-empty-revs option will probably leave revision gaps in the
   dumpfile. It is unclear from the documentation whether those gaps
   will result in problems. What happens, for example, when a WC is at a
   revision that is dropped.

2. It is unclear from the docu whether the --renumber-revs option will harm
   any WCs lying around. IIUC, the WC remembers which revision it is based
   on. Therefore I'd expect problems when revisions are renumbered.

Maybe someone could bring some light into this darkness.

-- 
-- Josef Wolf -- jw@raven.inka.de --

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svndumpfilter questions.

Posted by "C. Michael Pilato" <cm...@collab.net>.
Josef Wolf <jw...@raven.inka.de> writes:

> Hello!
> 
> I have two questions about svndumpfilter which seem not to be answered in
> the svnbook:
> 
> 1. The --drop-empty-revs option will probably leave revision gaps in the
>    dumpfile. It is unclear from the documentation whether those gaps
>    will result in problems. What happens, for example, when a WC is at a
>    revision that is dropped.

'svnadmin load' only uses revision numbers for calculating offsets so
that copyfrom-revisions work out right.  If you have 15 revisions in
your dumpfile, it wouldn't matter what their numbers were, your
repository will still grow by 15 new revisions upon loading that
dumpfile.  I have yet to dream up an actual use-case for wanting
--renumber-revs.

> 2. It is unclear from the docu whether the --renumber-revs option will harm
>    any WCs lying around. IIUC, the WC remembers which revision it is based
>    on. Therefore I'd expect problems when revisions are renumbered.

See above.  If your pre-dump and post-load repositories have
mis-aligned revisions (revision 12 in the one doesn't represent the
same changeset as revision 12 in the other), WCs will get royally
messed up.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org