symbolic links

Philippe Roud philippe.roud at rero.ch
Mon Aug 6 06:20:41 BST 2007


Good news

Thank you for the sample "script".

PHiLippe


Erik Bågfors a écrit :
> It will do the right thing. Try this
>
> : [erik at zmaco]$ ; bzr init t
> : [erik at zmaco]$ ; cd t
> : [erik at zmaco]$ ; echo hej > a
> : [erik at zmaco]$ ; ln -s a b
> : [erik at zmaco]$ ; bzr add
> added a
> added b
>
> : [erik at zmaco]$ ; bzr ci -m 1
> added a
> added b
> Committed revision 1.
>
> : [erik at zmaco]$ ; rm b
>
> : [erik at zmaco]$ ; echo heeeej > b
>
> : [erik at zmaco]$ ; bzr st
> kind changed:
>   b (symlink => file)
>
> : [erik at zmaco]$ ; bzr ci -m 2
> modified b
> Committed revision 2.
>
> /Erik
>
> On 8/3/07, Philippe Roud <philippe.roud at rero.ch> wrote:
>   
>> Hi,
>>
>> I don't use bazaar now as my company has a svn server but I like the way
>> bazaar works in general.
>> I may use it for new projects but this depends on the way it treat
>> symbolic links (under osx / linux).
>>
>> The situation is the following:
>> We have a software that use one global instance and several "local"
>> instances.
>> the config files of the local instance are mainly symlinked to the
>> global instance but if you want a local special config you create
>> a local copy of the config file.
>>
>> How does bazaar react if a particular file was a symlink, the user edit
>> the file with vi and broke the link (i.e. create a local copy)?
>> Do we need to do sth special (remove the link from bazaar and re-add the
>> local file) or a simple commit will do the trick?
>>
>>
>> Best regards
>>
>> PHiLippe
>>
>>
>>     




More information about the bazaar mailing list