[darcs-users] symlinking into darcs repository
David Roundy
droundy at darcs.net
Fri Oct 28 11:54:31 UTC 2005
On Fri, Oct 28, 2005 at 01:22:26PM +0200, Wolfgang Jeltsch wrote:
> Am Donnerstag, 27. Oktober 2005 15:28 schrieb David Roundy:
> > On Tue, Oct 18, 2005 at 07:30:57PM +0200, Wolfgang Jeltsch wrote:
> > > Hello,
> > >
> > > say I have run darcs initialize in a directory /a. /a contains a
> > > subdirectory, named /a/b. I have a symlink /c, pointing to /a/b.
> > > Now I do cd /c, and then use various darcs commands. Does darcs know
> > > how to handle such a situation or shouldn't I do such things?
> >
> > I don't know, I think it might work. It would depend on what
> > "getCurrentDirectory" returns--I'm not clear as to how symlinks to
> > directories behave, but suspect that it might work just fine.
>
> At least, darcs doesn't complain in any way. Could it be that I end in
> repository corruption?
I don't see how it could cause corruption. Darcs always moves into the
root directory of a repository at the beginning of the command, so if this
works, darcs shouldn't ever know about your symlink /c.
--
David Roundy
http://www.darcs.net
More information about the darcs-users
mailing list