[darcs-users] wrong repo name when 'get' path doesn't contain '/'

Donald Bruce Stewart dons at cse.unsw.edu.au
Mon Mar 1 01:17:51 UTC 2004

A simple bug, and I haven't looked for a fix.

When you emit a "get" with an ssh-style path, where that
path contains no '/' chars, the filename parsing code 
creates the local repository with the full path argument as
the dir name.

An example:

        $ darcs get dons at weill:d
        $ ls
        dons at weill:d

        $ darcs get dons at weill:/home/dons/d
        $ ls

Now, I know how these haskell 'takewhile' filename splitting functions
work ;)

-- Don

More information about the darcs-users mailing list