Hi,
i've found the following problem in a vss database:
datacache.PhysicalAction.tmp.txt:2076 RRAAAAAA \N TPFAAAAA
PIN P680lnk.ld 2 1037633247 sf 0 \N 2
AAAAAARR 1 \N \N
datacache.PhysicalAction.tmp.txt:2077 RRAAAAAA 8 TPFAAAAA
PIN P680lnk.ld 2 1037633247 sf 0 \N 2
AAAAAARR 1 \N \N
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();
_______________________________________________
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