darcs

Issue 106 "darcs changes --repo=/foo/bar" shouldn't fail if cwd is root(/)

Title "darcs changes --repo=/foo/bar" shouldn't fail if cwd is root(/)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy, ttimonen
Assigned To
Topics Patch

Created on 2006-01-20.18:16:43 by ttimonen, last changed 2009-08-27.13:47:21 by admin.

Files
File name Uploaded Type Edit Remove
repoaccess.patch ttimonen, 2006-01-20.18:20:03 text/x-patch
Messages
msg410 (view) Author: ttimonen Date: 2006-01-20.18:16:42
Hi,

Accessing of a repository located in some path fails when current working
directory is "/".

Steps to reproduce:
ttimonen@sd033:/tmp$ darcs changes --repo=/work/ttimonen/c/dng > /dev/null
ttimonen@sd033:/tmp$ cd ..
ttimonen@sd033:/$ darcs changes --repo=/work/ttimonen/c/dng > /dev/null

Fail: : setCurrentDirectory: does not exist (No such file or directory)

ttimonen@sd033:/$ 



A patch included.
Attachments
msg648 (view) Author: tommy Date: 2006-05-14.15:17:05
This seems to be fixed in 1.0.7.
History
Date User Action Args
2006-01-20 18:16:43ttimonencreate
2006-01-20 18:19:48ttimonensetfiles: - repoaccess.patch
2006-01-20 18:20:04ttimonensetfiles: + repoaccess.patch
2006-05-14 15:17:05tommysetstatus: unread -> resolved
messages: + msg648
2009-08-06 17:43:47adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - droundy, ttimonen
2009-08-06 20:48:14adminsetnosy: - beschmi
2009-08-10 21:48:23adminsetnosy: + ttimonen, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:56:56adminsetnosy: + darcs-devel, - simon
2009-08-27 13:47:21adminsetnosy: tommy, kowey, darcs-devel, ttimonen, thorkilnaur, dmitry.kurochkin