Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: If you do a commit if there's pending updates, updates are lost *quietly*!

fsvs
Discussion topic

Back to topic list

Re: If you do a commit if there's pending updates, updates are lost *quietly*!

Author pmarek
Full name P.Marek
Date 2011-05-12 04:05:30 PDT
Message Hello Roland!

> I think I found a bug in fsvs 1.2.3, please confirm or confute it:
>
> $ svnadmin create ~/svnr/repo1
>
> $ mkdir etc{1,2}
> $ ( cd etc1 && fsvs url
> name:repo1,prio:10,t​arget:HEAD,ro:0,file​:///root/svnr/repo1 )
> $ ( cd etc2 && fsvs url
> name:repo1,prio:10,t​arget:HEAD,ro:0,file​:///root/svnr/repo1 )
>
> etc1$ echo data >testfile1 && fsvs ci -m 1st
> N... 5 testfile1
> committed revision 1 on 2011-05-11T16:56:36.772102Z as root
>
> etc2$ fsvs rem
> N... 0 testfile1
> ..C. dir .
> Remote-status against revision 1.
Try "fsvs update" here, that should give you the file.

But you're right; using multiple WCs with FSVS might easily make problems.
A repo-path should have only one _modifying_ WC.

If you really want to handle the same repository-directory, always use "fsvs update"
before committing.


Depending on your use-case you could commit to different repository paths, and just
overlay them - see http://fsvs.tigris.o​rg/purpose.html or the documentation for more
information.


Regards,

Phil


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

« Previous message in topic | 2 of 4 | Next message in topic »

Messages

Show all messages in topic

If you do a commit if there's pending updates, updates are lost *quietly*! Pallai Roland <pallair at magex dot hu> Pallai Roland <pallair at magex dot hu> 2011-05-11 10:22:47 PDT
     Re: If you do a commit if there's pending updates, updates are lost *quietly*! pmarek P.Marek 2011-05-12 04:05:30 PDT
         Re: If you do a commit if there's pending updates, updates are lost *quietly*! Pallai Roland <pallair at magex dot hu> Pallai Roland <pallair at magex dot hu> 2011-05-12 08:07:06 PDT
             Re: If you do a commit if there's pending updates, updates are lost *quietly*! pmarek P.Marek 2011-05-12 08:32:11 PDT
Messages per page: