Login | Register
My pages Projects Community openCollabNet

Discussions > users > Q regarding symlink behaviour

fsvs
Discussion topic

Back to topic list

Q regarding symlink behaviour

Author pmarek
Full name P.Marek
Date 2009-04-23 05:29:59 PDT
Message Hello everybody!

I'd like to ask about some behaviour that FSVS should show.

Please assume this directory tree:
   A/
     file
   B/
     file
and a symlink
   C -> A

Now this gets committed, and the "file"s change their data; and the symlink points to B.

What should a
   fsvs ci C/file
do?

1) Give an error, because C is not a directory
2) Commit B/file (and nothing else), because this *target* was chosen
3) Commit C as pointing to B now
4) 2+3 together

I'm not sure what the right behaviour is ... all of these variants have some sunny side.

Any ideas? Opinions?
Thanks in advance.


Regards,

Phil

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

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

Messages

Show all messages in topic

Q regarding symlink behaviour pmarek P.Marek 2009-04-23 05:29:59 PDT
     Re: Q regarding symlink behaviour Peter Rabbitson <rabbit+list at rabbit dot us> Peter Rabbitson <rabbit+list at rabbit dot us> 2009-04-23 06:23:46 PDT
Messages per page: