Philipp,
Actually, I got this error when I had a single repository, but I created
a copy of that repository on another drive in case there was a stale
transaction lock (even though svnadmin lstxns did not identify any)
hence why there are two urls. It was possible that the repository
drive ran out of space - but not anything on the machine being backed up
- that has ample free space.
However, I get the same error on both repositories.
I had already tried fsvs sync-repos, but for me what happens is that it
asks for the server password (I use svn+ssh and I don't want the
password recorded anywhere), it produces a huge list of files, then asks
for the password again, and then gives an unexpected disconnection
error. I think this might be because sshd has timed out, and fsvs
expects it still to be there from the first connection.
Using your suggested commands:
The file revision is 12
The two URLs are at revision 0
Subversion believes the HEAD revision is 16
Which looked suspicious, so I went back to the unchanged original repository
The file revision is 12
The two URLs are at revision 0
Subversion believes the HEAD revision is 12
But I still get the same (well, very similar) error
[EMAIL PROTECTED] /]# fsvs commit -m "Backup 2008 02 04" -ocommit_to=toshiba-01
[EMAIL PROTECTED]'s password:
Committing to svn+ssh://tardis.hewitt.home/media/toshiba-01/fsvsdata/james
N... 173 Q
.mC. dir root
.mC. dir root/.emacs.d/auto-save-list
N... 178 root/.emacs.d/auto-save-list/.saves-20147-james.hewitt.home~
.mC. 25937 root/.bash_history
.mC. 756 root/.lesshst
N... 49 root/fsvs.ignore
D... 62 root/.xauthAXv6vt
N... 62 root/.xauthH9QOgp
N... 68 root/fsvs.urls
N... 62 root/.xauthI08Aj8
.mC. 2378 shared/vnstat/vnstat_dump_eth0
.mC. 2426 shared/vnstat/vnstat_dump_eth1
An error occurred: Transaction is out of date (160028)
in ci__nondir: svn_txdelta_send_stream: Out of date:
'root/.bash_history' in transaction '12-1'
And though I'd like to run sync-repos, I can't seem to do that either.
Mark.
Philipp Marek wrote:
Hello Mark!
On Saturday 02 February 2008 Mark J Hewitt wrote:
[EMAIL PROTECTED] /]# fsvs commit -m "Backup 2008-02-01"
-ocommit_to=FreeAgent-01
After a second look you seem to be one who uses multiple repositories - in
that case it might make sense to look at the output of
fsvs info /james/trunk/root/.bash_history
which gives you the revision this file is at, and
fsvs urls dump "%u\t%r\n"
which shows the revision at which the URL is known.
It could be that FSVS stores the wrong revision number for the file - could
you make sure and list the lines
svn log -r HEAD <URL> | grep "^r"
for your URLs and tell me whether that matches the dump output?
If you change the repository from more than a single location, you should do
updates.
The sync-repos might help - but it won't find a bug.
Regards,
Phil