[darcs-devel] [issue1045] Leading / stripped from local repository

Matthias Kilian bugs at darcs.net
Fri Aug 29 23:37:41 UTC 2008


New submission from Matthias Kilian <kili at outback.escape.de>:

As posted on darcs-users@, there's a regression since darcs-2.0.2 when pulling 
from a local (filesystem) repository where the first component of the source 
repository's path differs from the first component of the the target 
repository's path, i.e.:

$ mkdir /var/tmp/foo
$ cd /var/tmp/foo
$ darcs init
$ cd /tmp
$ darcs get /var/tmp/foo
Finished getting.
$ cd foo
$ darcs pull
darcs failed:  Not a repository: var/tmp/foo (var/tmp/foo/_darcs/inventory:
+openBinaryFile: does not exist (No such file or directory))


I didn't yet find the code to blame, but it might be in the vicinity of 
FileName.lhs or any module that's using it (which is pretty much anything).

----------
messages: 5802
nosy: dagit, kili, kowey
priority: bug
status: unread
title: Leading / stripped from local repository

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1045>
__________________________________


More information about the darcs-devel mailing list