Stephen Lee schrieb:
Dirk wrote:
what do you think of this patch?
Not tried it, but again, I think the middle changes, while they won't
do any harm, are probably un-necessary.
Without the patch, the following commands will come out "aesthetically"
incorrect:
ss create file.txt
ss share file.txt $project
ss delete $project/file.txt
ss share file.txt $project
This will be converted into:
r1: svn add file.txt
r2: svn copy file.txt project/file.txt
r3: svn delete project/file.txt
r4: svn copy -r2 project/file.txt project/file.txt
The point is, that we find a valid path in the deleted context, and
therefore we would take this one. If we prefer non deleted contexts the
last line will turn into the correct copy
r4: svn copy file.txt project/file.txt
Nothing groundbreaking, but in VSS, where you don't have atomic commits,
you can not do something with a deleted file. Probably on the
commandline, I haven't tried. Therefore, after a deletion, the file is
lost and only active contexts can be used for any further operation.
Dirk
_______________________________________________
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