darcs

Issue 47 make_dotdots on an absolute path

Title make_dotdots on an absolute path
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, kowey, ndmitchell, thorkilnaur, tommy, wglozer, zooko
Assigned To wglozer
Topics Confirmed, Windows

Created on 2005-12-06.12:43:01 by ndmitchell, last changed 2009-08-27.13:46:42 by admin.

Messages
msg177 (view) Author: ndmitchell Date: 2005-12-06.12:43:01
pull's fine

darcs: bug in darcs!
Can't make_dotdots on an absolute path:  /compiler98/Util
Please report this to bugs@darcs.net,
If possible include the output of 'darcs --exact-version'.

darcs compiled on Nov 14 2005, at 22:48:32
# configured Mon Nov 14 22:35:33 USMST 2005
./configure --disable-mmap

Context:

[update web page to reflect 1.0.4 as latest stable source.
David Roundy <droundy@darcs.net>**20051113210144]

[TAG 1.0.4
David Roundy <droundy@darcs.net>**20051113134431]

--

When at the root dir of the repo, darcs pull works fine

When at one level deep, darcs failed:  Not a repository: ../z:/darcs/yhc-devel

When at two levels deep, bug generated as above.

All on WindowsXP.

Thanks

Neil
msg181 (view) Author: eivuokko Date: 2005-12-07.12:05:37
Reproduces on my machine when
* using "darcs pull" - using default repo,
* working on subdir,
* default repo is an absolute path and
* Windows.

As a workaround, user can give repo to be pulled from on commandline,
use relative paths or not issue darcs commands in subdirectories.
msg183 (view) Author: droundy Date: 2005-12-07.14:16:46
I think this is just because fix_maybe_absolute and unfix_maybe_absolute
don't recognize absolute windows paths (with the "c:" at the beginning).
Should be pretty easy to fix by adding another case analogous to the
existing one that checks for absolute posix paths.
-- 
David Roundy
http://www.darcs.net
msg265 (view) Author: zooko Date: 2005-12-23.11:01:17
What's the status of this issue?  I believe that Will Glozer told me in e-mail
that he had a patch that fixed it.
msg280 (view) Author: wglozer Date: 2005-12-28.23:34:32
This patch is in the stable repository now:
http://abridgegame.org/cgi-bin/darcs.cgi/darcs/?c=annotate&p=20051208054737-998a4-da17ed2e3bda8e897aa72064984b386684f47b0f.gz
msg281 (view) Author: droundy Date: 2005-12-28.23:51:58
On Wed, Dec 28, 2005 at 11:34:33PM +0000, Will Glozer wrote:
> This patch is in the stable repository now:

So I presume this bug should be resolved?
-- 
David Roundy
http://www.darcs.net
msg519 (view) Author: tommy Date: 2006-02-28.11:58:45
fixed in 1.0.6
Thu Dec  8 06:47:37 CET 2005  Will <will@glozer.net>
  * fix handling of absolute paths containing drive letters
History
Date User Action Args
2005-12-06 12:43:01ndmitchellcreate
2005-12-07 12:05:38eivuokkosetstatus: unread -> unknown
nosy: + eivuokko, wglozer
topic: + Windows, Confirmed
messages: + msg181
title: Bug: make_dotdots on an absolute path -> make_dotdots on an absolute path
2005-12-07 14:16:46droundysetnosy: droundy, tommy, wglozer, eivuokko, ndmitchell
messages: + msg183
2005-12-10 05:42:16wglozersetnosy: droundy, tommy, wglozer, eivuokko, ndmitchell
2005-12-23 11:01:17zookosetnosy: + zooko
messages: + msg265
2005-12-28 23:34:33wglozersetnosy: droundy, tommy, wglozer, zooko, eivuokko, ndmitchell
messages: + msg280
2005-12-28 23:51:39droundysetstatus: unknown -> resolved-in-stable
nosy: droundy, tommy, wglozer, zooko, eivuokko, ndmitchell
2005-12-28 23:51:58droundysetnosy: droundy, tommy, wglozer, zooko, eivuokko, ndmitchell
messages: + msg281
2006-02-28 11:58:49tommysetstatus: resolved-in-stable -> resolved
nosy: droundy, tommy, wglozer, zooko, eivuokko, ndmitchell
messages: + msg519
2009-08-06 17:47:50adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - droundy, wglozer, eivuokko, ndmitchell
2009-08-06 20:47:03adminsetnosy: - beschmi
2009-08-10 22:05:14adminsetnosy: + wglozer, eivuokko, ndmitchell, - markstos, darcs-devel, jast, dagit, Serware, mornfall
2009-08-25 17:59:35adminsetnosy: + darcs-devel, - simon
2009-08-27 13:46:42adminsetnosy: tommy, kowey, wglozer, darcs-devel, zooko, eivuokko, ndmitchell, thorkilnaur, dmitry.kurochkin