On Tue, Sep 14, 2010 at 7:09 AM, RRC <
ravi....@gmail.com> wrote:
> Hi All,
>
> I have been working on vss2svn conversion.I am a VSS database of 20GB,
> which i want to convert into SVN repository.What i am doing:
>
> 1> I have converted that VSS database into a dumpfile of 35 GB using
> vss2svn binary.It is
> having around 55,000 revisions. When i am doing "svnadmin load"
> command, it is stopping at
> 17369 revision. The message on command prompt is "no such
> revision".
>
This error message sounds like it is trying to copy or move from a source
file which doesn't exist. I would suggest trying to dig deeper into this and
maybe remove the offending operation manually from the dumpfile.
> 2> After that i have divided the dumpfile into 14 parts of 2GB each.My
> plan was to convert each
> part into repository, then merge each repository to make a final
> repository. But at the end of
> first repository making , it is giving me error "Premature end of
> dumpstream". After that when i
> start my second part dumpfile conversion,it is giving me error
> "malformed dumpfile header".
>
Dividing the dumpfile is probably a good idea to make it easier to work with
but it sounds like you didn't quite do it correctly. I suggest looking into
the following:
http://code.google.com/p/vss2svn/wiki/FixingTheDumpfile
In particular take a look at SvnDumpTool from
http://svn.borg.ch/svndumptool/
> 3> I have done a lot of googling and still i am doing it,but didn't
> get any useful solution.
> 4> Please suggest me some solution and suugest if any good tool is
> there for VSS migration.
>
Unfortunately as you're finding out every large VSS database has a certain
degree of corruption which no tool may be able to fix. You should ask
yourself or your client whether converting VSS it SVN is really worthwhile.
Many times it's simply better to place the existing VSS repo into read-only
mode and either import all your latest code into SVN or start SVN from
scratch. In fact it may be a great opportunity to refactor your repository
layout if it's currently in an unwieldy state (which many large VSS
repositories are).
It may sound drastic to "start from scratch" but after a short while of
working in SVN you'll find that you need to go back to VSS very seldom. If
you still decide that converting the repo is what you want then it's
probably going to involve some manual editing of the dumpfile because as I
said every case is unique and will probably have issues others haven't seen.
Good luck,
Toby