Hello Farzad!

On Friday 03 October 2008 Farzad FARID wrote:
> I setup a test system, using FSVS 1.1.16, with 2 repositories, and one
> working directory, as follows:
...
> Now, for example, I modify "/usr/src/FSVS/etc/hostname". If if commit
> without giving the "commit_to" option, I get an error message:
>
> # fsvs commit -m "Touched file" hostname
> Which URL would you like to commit to?
> Please choose one (config option "commit_to").
>
> But "hostname" is already in the correct repository:
...
> Moreover, if I set "commit_to=base" in the "config" file, I will get an
> even worse error message:
...
> An error occurred: Filesystem has no item (160013)
>   in ci__directory: open_file
>
>
> I thought that FSVS would automatically know where to commit the file, why
> doesn't this work?
It knows where the current file is from; but not where you want it.

I have on my TODO some kind of multi-commit - where each changed entry gets 
committed to the URL it belongs to.

But this is not yet done.

> Can I use FSVS with 2 URLs without having to use "-o commit_to" and/or with
> having a conflict if the default "commit_to" is not the one associated with
> som of the files I want to commit?
>
> Shouldn't the priority field play the same role as the default "commit_to"
> in the config file?
I thought that I *require* that a repository is given, because changes could 
easily be overlooked and committed against the wrong repository.
(As currently only a single repository is possible.)

You can use the "commit_to" option in the config, if you (normally) commit 
against a specific repository.


> An error occurred: Filesystem has no item (160013)
>   in ci__directory: open_file
That error I could work around - but I'm not sure whether that's correct, as 
it would silently put the file where it wasn't before - and the user possibly 
doesn't want it.


But maybe you're right, and I should just give more rope, so that users can 
shoot themselves in the foot ...


I'm aware that this is not really an answer to your questions; but patches are 
welcome ;-)


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