List Info

Thread: Re: Why orphaned?




Re: Why orphaned?
country flaguser name
Germany
2008-02-07 04:44:12
Hi Nathan!

It's really great method with 'A', 'B', 'C' dumps! Thanks
for the idea. Unfortunately was in my case the dumpfile  at
least once such corrupt, that 'svndumptool split' have been
canceled with an exception (bad tag 'xyz'). And the entire
dumpfile ist pretty big (~20GB) for vi :-(

WbR

Eugene 


> 
> In the recent conversion I did I found it fairly easy
to :
> 
> 1. svnamin load, observe on which revision it fails
> 2. 'svndumptool split' [1] the failing revision out of
the main dumpfile 
> such that you get A.dump (revisions before bad rev),
B.dump (the bad 
> revision) and C.dump (revisions after bad rev).
> 3. Open B.dump in your favourite editor that won't
mangle binary data 
> (vi!) and fix it.  (Does a parent directory need to be
created?  Is a 
> rename wrong? Forcibly "un-orphan" a file by
reconnecting its path to 
> its true parent, etc.)  The format is pretty easy to
work with if you're 
> careful -- just copy an entry similar to what you want
and tweak.
> 4. svnadmin load A.dump, B.dump, C.dump
> 5. Goto 1, for any problem in C.dump.
> 
> I found this much faster than trying to change
something in the vss2svn 
> process, and it guaranteed working results.
> 
> -Nathan
> 
> [1] http://svn.borg.ch/sv
ndumptool/
> 
> _______________________________________________
> vss2svn-users mailing list
> Project homepage:
> http://www.
pumacode.org/projects/vss2svn/
> Subscribe/Unsubscribe/Admin:
> http://lists.pumacode.org/mailman/lis
tinfo/vss2svn-users-lists.pumacode.org
> Mailing list web interface (with searchable archives):
> http://dir.gmane.org/gmane.comp.version-c
ontrol.subversion.vss2svn.user

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gm
x.net/de/go/multimessenger

_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.
pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/lis
tinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-c
ontrol.subversion.vss2svn.user


Re: Why orphaned?
user name
2008-02-07 10:30:16
Jewgenij Moldawski wrote:
> It's really great method with 'A', 'B', 'C' dumps!
Thanks for the
> idea. Unfortunately was in my case the dumpfile  at
least once such
> corrupt, that 'svndumptool split' have been canceled
with an
> exception (bad tag 'xyz'). And the entire dumpfile ist
pretty big
> (~20GB) for vi :-(


I had exactly the same problem. I used a combination similar
to:
   tail '-n+X | head -n1000 |  grep ^Revision-number
(syntax is probably not 100%)
incrementing X till I found the revision svndumptool was
bombing on, and 
then to examine the surrounding dumpfile.

I documented the result here: 
http://www.pumacode.org/project
s/vss2svn/wiki/FixingTheDumpfile#DumpfileIsCorrupt 


(Quick version: run on linux, not windows)

-Nathan

_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.
pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/lis
tinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-c
ontrol.subversion.vss2svn.user


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )