Created on 2006-01-17.09:56:15 by edwint, last changed 2009-08-27.13:46:23 by admin.
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.
|
|
Date |
User |
Action |
Args |
2006-01-17 09:56:15 | edwint | create | |
2006-01-17 16:46:40 | wglozer | set | topic:
+ Windows status: unread -> unknown messages:
+ msg383 nosy:
+ eivuokko, wglozer |
2006-01-17 16:46:58 | wglozer | set | nosy:
droundy, tommy, wglozer, eivuokko, edwint |
2006-01-17 17:31:07 | edwint | set | status: unknown -> resolved nosy:
droundy, tommy, wglozer, eivuokko, edwint messages:
+ msg384 |
2009-08-06 17:32:39 | admin | set | nosy:
+ markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - droundy, wglozer, eivuokko, edwint |
2009-08-06 20:48:07 | admin | set | nosy:
- beschmi |
2009-08-10 22:22:06 | admin | set | nosy:
+ edwint, wglozer, eivuokko, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall |
2009-08-25 17:47:25 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 13:46:23 | admin | set | nosy:
tommy, kowey, wglozer, darcs-devel, eivuokko, edwint, thorkilnaur, dmitry.kurochkin |
|