Hi,

I setup a test system, using FSVS 1.1.16, with 2 repositories, and one working 
directory, as follows:

WC:
/usr/src/FSVS/etc
URLs:
N:base,P:100,file:///usr/src/FSVS/repos/base/trunk/etc
N:local,P:200,file:///usr/src/FSVS/repos/machines/M0379/etc

The WC is a copy of my "/etc" directory. Following this howto (http://fsvs-
software.org/doc/doxygen-gif/group__howto__master__local.html), I commited 
some files to the "local" repository, and all the other files to the "base" 
repository.

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:


# fsvs info hostname
.m.?        16  hostname
        Type:           file
        URL:            file:///usr/src/FSVS/repos/machines/M0379/etc/hostname
        Status:         0x28 (mtime, likely)
        Flags:          0x0 (none)
        Dev:            65024
        Inode:          2166935
        Mode:           0100644
        UID/GID:        0 (root)/0 (root)
        MTime:          Fri Oct  3 16:02:12 2008
        CTime:          Fri Oct  3 16:02:12 2008
        WAA-Path:       /var/spool/fsvs/ea/45/33db34f563d21d08b4066d2f4ccf/
        Revision:       6
        Repos-MD5:      90dc9df7334df5036bd88b3dc3a0055c
        Size:           16


Moreover, if I set "commit_to=base" in the "config" file, I will get an even 
worse error message:


# fsvs commit -m "Touched file" hostname
Committing to file:///usr/src/FSVS/repos/base/trunk/etc
.m..        16  hostname


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?

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?

Regards,


-- 
Farzad FARID / Architecte Open Source - AssociƩ
Pragmatic Source / http://www.pragmatic-source.com
Tel : +33 9 53 19 21 90 / Mob : +33 6 03 70 65 46

Reply via email to