Hello Farzad,

On Thursday 02 October 2008 Farzad FARID wrote:
> I'm testing fsvs 1.1.16 on a Debian system, using the official Debian
> package.
... 
> I could give a
> name to the URL. So I ran the following command:
> (echo 'N:main,file:///usr/local/fsvs-repository') | fsvs urls load
>
> But it apparently broke fsvs!
> ... 
> An error occurred: Transaction is out of date (160028)
>   in ci__directory: open_file
...
> Can someone help me and tell me what went wrong? And how can I fix the
> repository without destroying and recreating it, which would make me loose
> the log history?
The problem is that FSVS stores the current revision your WC is at (BASE in 
subversion-speak) along with the URL.
If you dump that URL, and load it (or another) again, FSVS won't know which 
revision it is at locally - and use rev0.

When you're trying to commit, FSVS tells the repository that it has changes 
against rev0 - but the repository answers "That's out of date! Somebody else 
committed 200 revisions in the mean time!".

That's why.


To get it working again, you'll have to tell FSVS which revision the WC is at; 
and the easiest way to do that is to run "fsvs sync-repos".
That'll fetch the HEAD revision from the repository, and assume that the WC is 
at that revision; so you should be fine.

Alternatively, you could give a revision parameter to that command ("-rX") - 
but that's normally not necessary.


Regards,

Phil

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to