On Tuesday, September 12, 2006 10:56 AM -0400 Toby Johnson
<[EMAIL PROTECTED]> wrote:
Kenneth Porter wrote:
I think we need some kind of fudge pass that pushes directory
timestamps back to the date of the earliest child.
I agree that this is probably the best/only approach. What does the VSS
Explorer GUI show as the timestamp for the project creation?
When querying the parent of the restored project, the date is that of the
restoration. When querying the project itself, no entry is reported, and
one can see (in my example) the creation of that project had occurred years
before. There are many operations inside of the restored tree that happened
prior to the restoration.
Alas, it looks like what happened with my client's DB is that the top 2
levels were recreated and then the deeper level was restored into it. Ie.
in $/x/y/z $/x/y was created in 2003 and z was created in 1999 and restored
into y shortly after y's creation.
I'm now thinking that the restore should be treated as a "move from
nowhere". It should initially be parented to a dummy directory (perhaps
/orphaned) and the restore operation can be treated as a Subversion move to
the new location. When we trace a file's history back through the restore
point, it will move from the restored location to the hierarchy under the
dummy parent.
If we take this approach, it becomes a question of how to implement it. The
root of the restored tree (ie. z in the above example) still claims the
parent to be the new location in its ItemInfo entity (ie. $/x/y), but the
CreatedProject timestamp long predates the parent's creation date. We need
to identify this situation and parent this physical file to the dummy
directory, and use the RestoredProject entry in the new parent to trigger a
Subversion move operation at that timestamp.
_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-control.subversion.vss2svn.user