Werner wrote:
The timestamp for both entries is same - UNPIN / PIN in less than a second, it's the same button in VSS. The actions were applied in reverse and the file did come out unpinned while it should have been pinned.. The following patch fixes this. I don't know if the patch is clean but it works for me. Can please someone look at that?

Index: vss2svn.pl
===================================================================
--- vss2svn.pl    (revision 263)
+++ vss2svn.pl    (working copy)
@@ -696,7 +696,7 @@
my($sth, $row, $action, $handler, $physinfo, $itempaths, $allitempaths);

    my $sql = 'SELECT * FROM PhysicalAction ORDER BY timestamp ASC, '
-            . 'itemtype ASC, priority ASC, sortkey ASC';
+            . 'itemtype ASC, priority ASC, sortkey ASC, action_id ASC';

    $sth = $gCfg{dbh}->prepare($sql);
    $sth->execute();

BTW, thanks for the patch!
_______________________________________________
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

Reply via email to