[darcs-users] double dots are not allowed in filenames?

Ketil Malde ketil at ii.uib.no
Tue Aug 28 08:35:06 UTC 2007


> Another observation: "file:" URLs solve the original poster's
> problem of ':' in file names even in a context where
> remote files can occur, since "file:" URLs are allowed to
> contain ':'. Does darcs support this?

>From the original question (Erik Y Kow):
> $ cd ~/darcs
> $ mkdir test
> $ cd test
> $ dr init
> $ mkdir dir
> $ dr add dir
> $ cd dir
> $ touch foo:bar
> $ dr add foo:bar
> darcs: foo:bar: getSymbolicLinkStatus: does not exist (No such file or
directory)


  $ darcs add file:dir/foo:bar
  darcs: file:dir: getSymbolicLinkStatus: does not exist (No such file or directory)

  $ darcs add file://dir/foo:bar
  darcs: file:: getSymbolicLinkStatus: does not exist (No such file or directory)

And even:

  $ darcs add ./foo:bar
  darcs: ./foo:bar: getSymbolicLinkStatus: does not exist (No such file or directory)

But:

  $ cd ..
  $ darcs add dir/foo:bar

(I.e. this is OK)




More information about the darcs-users mailing list