New submission from Edwin <[EMAIL PROTECTED]>:

On Windows, pushing to a local repository fails if the command is run from
inside a subdirectory:

[...c/darcstest]$ mkdir a
[...c/darcstest]$ cd a
[...darcstest/a]$ mkdir newfolder
[...darcstest/a]$ darcs init
[...darcstest/a]$ darcs add newfolder/
[...darcstest/a]$ darcs record -a -A me -m new
Finished recording patch 'new'
[...darcstest/a]$ cd ..
[...c/darcstest]$ darcs get a
Directory 'c:/darcstest/a' already exists, creating repository as 
'c:/darcstest/a_0'
Copying patch 1 of 1... done!
Finished getting.
[...c/darcstest]$ cd a_0/newf
a_0/newf: No such file or directory.
[...c/darcstest]$ cd a_0/newfolder/
[...a_0/newfolder]$ darcs push
Local to local copy not supported
Invalid repository:  ../c:/darcstest/a

darcs failed:  (scp) failed to fetch: ../c:/darcstest/a/_darcs/inventory

(I did this using a cygwin shell, but the same thing happens in cmd.exe)
By trying the daily builds linked to from the wiki, I've found that this bug is
present in 2005-08-01, but not in 2005-07-29.

----------
messages: 379
nosy: droundy, edwint, tommy
priority: bug
status: unread
title: Push fails inside subdirectory

____________________________________
Darcs issue tracker <[EMAIL PROTECTED]>
<http://bugs.darcs.net/issue98>
____________________________________

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to