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

Re: Problems dumping a directory tree and then loading into fresh repository

From: <kfogel_at_collab.net>
Date: 2005-08-25 04:13:17 CEST

James, you've got copies in your tree. Some of those copies have
sources that are either

   - in revision trees from before the earliest revision in your
     dumpfile, or

   - in locations not included in your dump.

Depending on what kind of activity has been going on in your
repository, non-complete dumpfiles can be very complex. Whenever you
dump less than the whole repository, you can run into trouble.

Does this clarify what the problem is?

It's not clear what 'svnadmin dump' should do about this. Including
data in the dump (the copy sources) that was not requested in the dump
has its own problems. After all, in order for the new repository to
reflect the copy history accurately, it would have to put that source
data somewhere in the new repository too. But where? You didn't ask
for it to be dumped; logically, it should not be carried across when
you load the dumpfile.

Sorry, I'm not trying to say "talk to the hand" :-), I'm just not sure
what the right solution is. You might be better off just importing a
tree than trying to load history from an incomplete dumpfile.

-Karl

James Lamanna <jamesl@appliedminds.com> writes:
> Joshua Varner wrote:
> > On 8/24/05, James Lamanna <jamesl@appliedminds.com> wrote:
> >
> >>I tried asking this on svn-users, but I never got a response...
> >>And its quite an important issue preventing me from moving forward.
> >>
> > Sorry for the delay
> > Here is the original thread from users:
> > http://subversion.tigris.org/servlets/BrowseList?list=users&by=thread&from=357391
> >
> >>I've attached a svnadmin load log that fails.
> >>
> >>The dumpfile used was created with:
> >>svnadmin dump
> >>/export/repositories/ami |
> >>svndumpfilter include --drop-empty-revs TouchTable TouchTableSDK |
> >>svndumpfilter exclude --drop-empty-revs
> >>TouchTable/branches/API/TouchTable/API-Prelim/apiPrelimDoc
> >>TouchTable/branches/API/designDocs
> >>TouchTable/branches/API/TouchTable/API-Prelim/Comments
> >>TouchTableSDK/Comments TouchTable/branches/demo/n > ttdumpfile4
> >>
> >>This was then loaded into a brand new repository.
> >>
> >>The failures appear to be "missing transactions" and thinking that files
> >>are not there. By the looks of things it almost seems like the revision
> >>numbers are wrong where it is looking for the files.
> >>
> > Loading this dump into an empty repository
> > WARNING: will fail.
> > WARNING: Referencing data in revision 3742, which is older than the oldest
> > WARNING: dumped revision (3753). Loading this dump into an empty repository
> > WARNING: will fail.
> > <<< Started new transaction, based on original revision 3753
> > * adding path : TouchTable/branches/net-update ...COPIED... done.
> > WARNING: Referencing data in revision 3743, which is older than the oldest
> > WARNING: dumped revision (3753). Loading this dump into an empty repository
> > WARNING: will fail.
> > This is the first error I'm seeing. Could it be that this is a
> > copy from one
> > of the directories you specifically excluded? Check revision 3743 and 3753
> > in your original repository.
>
> Here is 3743:
> (none of which are from excluded paths)
>
> Changed paths:
> M
> /TouchTable/branches/demo/TouchTable/TouchArcGIS/com/ami/arcgis/GlobeGraphicsLayer.cs
> M
> /TouchTable/branches/demo/TouchTable/TouchArcGIS/com/ami/arcgis/input/InputUseGlobeNav.cs
>
> Here is 3753:
> (none of which are from excluded paths)
>
> Changed paths:
> A /TouchTable/branches/net-update (from /TouchTable/branches/demo:3700)
> R /TouchTable/branches/net-update/TouchTable (from
> /TouchTable/branches/demo/TouchTable:3735)
> R /TouchTable/branches/net-update/TouchTable/DNetLib/DNServer.cs
> (from /TouchTable/branches/demo/TouchTable/DNetLib/DNServer.cs:3744)
> A
> /TouchTable/branches/net-update/TouchTable/DisplayThingUI/AppLauncher.cs
> (from
> /TouchTable/branches/demo/TouchTable/DisplayThingUI/AppLauncher.cs:3738)
> R
> /TouchTable/branches/net-update/TouchTable/DisplayThingUI/BorderlessGlobe.cs
> (from
> /TouchTable/branches/demo/TouchTable/DisplayThingUI/BorderlessGlobe.cs:3745)
> R
> /TouchTable/branches/net-update/TouchTable/DisplayThingUI/BrowserForm.cs
> (from
> /TouchTable/branches/demo/TouchTable/DisplayThingUI/BrowserForm.cs:3738)
> R
> /TouchTable/branches/net-update/TouchTable/DisplayThingUI/BrowserForm.resx
> (from
> /TouchTable/branches/demo/TouchTable/DisplayThingUI/BrowserForm.resx:3738)
> R
> /TouchTable/branches/net-update/TouchTable/DisplayThingUI/DisplayThing.cs
> (from
> /TouchTable/branches/demo/TouchTable/DisplayThingUI/DisplayThing.cs:3745)
> R
> /TouchTable/branches/net-update/TouchTable/DisplayThingUI/DisplayThingUI.csproj
> (from
> /TouchTable/branches/demo/TouchTable/DisplayThingUI/DisplayThingUI.csproj:3738)
> R
> /TouchTable/branches/net-update/TouchTable/TouchArcGIS/com/ami/arcgis/GlobeGraphicsLayer.cs
> (from
> /TouchTable/branches/demo/TouchTable/TouchArcGIS/com/ami/arcgis/GlobeGraphicsLayer.cs:3743)
> R
> /TouchTable/branches/net-update/TouchTable/TouchArcGIS/com/ami/arcgis/GlobeIdentifier.cs
> (from
> /TouchTable/branches/demo/TouchTable/TouchArcGIS/com/ami/arcgis/GlobeIdentifier.cs:3737)
> R
> /TouchTable/branches/net-update/TouchTable/TouchArcGIS/com/ami/arcgis/input/InputUseDistance.cs
> (from
> /TouchTable/branches/demo/TouchTable/TouchArcGIS/com/ami/arcgis/input/InputUseDistance.cs:3742)
> R
> /TouchTable/branches/net-update/TouchTable/TouchArcGIS/com/ami/arcgis/input/InputUseGlobeNav.cs
> (from
> /TouchTable/branches/demo/TouchTable/TouchArcGIS/com/ami/arcgis/input/InputUseGlobeNav.cs:3743)
> R
> /TouchTable/branches/net-update/TouchTable/TouchArcGIS/com/ami/arcgis/ui/GISButton.cs
> (from
> /TouchTable/branches/demo/TouchTable/TouchArcGIS/com/ami/arcgis/ui/GISButton.cs:3745)
> R
> /TouchTable/branches/net-update/TouchTable/TouchArcGIS/com/ami/arcgis/ui/GlobeUITree.cs
> (from
> /TouchTable/branches/demo/TouchTable/TouchArcGIS/com/ami/arcgis/ui/GlobeUITree.cs:3745)
> R
> /TouchTable/branches/net-update/TouchTable/TouchMe/com/ami/tt/input/InputUseDrawing.cs
> (from
> /TouchTable/branches/demo/TouchTable/TouchMe/com/ami/tt/input/InputUseDrawing.cs:3740)
> R
> /TouchTable/branches/net-update/TouchTable/TouchMe/com/ami/tt/ui/AcetateDrawing.cs
> (from
> /TouchTable/branches/demo/TouchTable/TouchMe/com/ami/tt/ui/AcetateDrawing.cs:3742)
> R
> /TouchTable/branches/net-update/TouchTable/TouchMe/com/ami/tt/ui/UIButtons.cs
> (from
> /TouchTable/branches/demo/TouchTable/TouchMe/com/ami/tt/ui/UIButtons.cs:3742)
> R /TouchTable/branches/net-update/TouchTable/dtlib/DTCommand.cs
> (from /TouchTable/branches/demo/TouchTable/dtlib/DTCommand.cs:3745)
> A
> /TouchTable/branches/net-update/TouchTable/dtlib/DTGlobeControl.cs
> (from
> /TouchTable/branches/demo/TouchTable/dtlib/DTGlobeControl.cs:3745)
> R
> /TouchTable/branches/net-update/TouchTable/dtlib/DispatcherServer.cs
> (from
> /TouchTable/branches/demo/TouchTable/dtlib/DispatcherServer.cs:3745)
> R /TouchTable/branches/net-update/TouchTable/dtlib/dtlib.csproj
> (from /TouchTable/branches/demo/TouchTable/dtlib/dtlib.csproj:3745)
>
>
>
> > * adding path :
> > TouchTable/branches/net-update/TouchTable/DNetLib/DNServer.cs
> > ...COPIED...
> > This looks like it is could have been copied from
> > TouchTable/branches/demo/n?
> > If this is the case someone more knowledgeable will have to advise you
> > on how to fix the problem. Possibly dump up to right before this revision, then
> > get a non-incremental dump starting at 3753?
>
> The dump should be non-incremental.
> Nothing has been copied from those excluded paths (they are mostly
> generated doc files I want to get rid of)...
>
> --
> James Lamanna
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

-- 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 25 05:12:54 2005

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