darcs

Issue 98 Push fails inside subdirectory

Title Push fails inside subdirectory
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, edwint, eivuokko, kowey, thorkilnaur, tommy, wglozer
Assigned To wglozer
Topics Windows

Created on 2006-01-17.09:56:15 by edwint, last changed 2009-08-27.13:46:23 by admin.

Messages
msg379 (view) Author: edwint Date: 2006-01-17.09:56:14
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.
msg383 (view) Author: wglozer Date: 2006-01-17.16:46:39
What --exact-version of darcs are you running?  This looks like a duplicate of
issue 47 which was resolved by patch "fix handling of absolute paths containing
drive letters".  Daily builds from 2005-12-28 on should contain the fix.
msg384 (view) Author: edwint Date: 2006-01-17.17:31:06
You're right, I was running an older version of darcs.  Sorry for wasting your time.
History
Date User Action Args
2006-01-17 09:56:15edwintcreate
2006-01-17 16:46:40wglozersettopic: + Windows
status: unread -> unknown
messages: + msg383
nosy: + eivuokko, wglozer
2006-01-17 16:46:58wglozersetnosy: droundy, tommy, wglozer, eivuokko, edwint
2006-01-17 17:31:07edwintsetstatus: unknown -> resolved
nosy: droundy, tommy, wglozer, eivuokko, edwint
messages: + msg384
2009-08-06 17:32:39adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - droundy, wglozer, eivuokko, edwint
2009-08-06 20:48:07adminsetnosy: - beschmi
2009-08-10 22:22:06adminsetnosy: + edwint, wglozer, eivuokko, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:47:25adminsetnosy: + darcs-devel, - simon
2009-08-27 13:46:23adminsetnosy: tommy, kowey, wglozer, darcs-devel, eivuokko, edwint, thorkilnaur, dmitry.kurochkin