|
Created on 2007-05-15.14:44:23 by attila.lendvai, last changed 2009-10-23.23:48:51 by admin.
msg1695 (view) |
Author: attila.lendvai |
Date: 2007-05-15.14:44:12 |
|
dear darcs devs,
darcs changes --xml-output
--repo=http://www.common-lisp.net/project/cl-wdim/darcs/pvez/
fails with:
darcs failed: Not a repository:
http://www.common-lisp.net/project/cl-wdim/darcs/pvez/ (Failed to
create temporary file darcs: permission denied (Permission denied))
the problem is that it starts walking the parent directories until it
finds a '_darcs' dir because it assumes local operation. the result is
that it reaches "/" where it can not write.
this happens with the current stable branch and it was working with a
later version of darcs.
hth,
|
msg1825 (view) |
Author: kowey |
Date: 2007-07-14.21:21:17 |
|
Good find, thanks.
I had some trouble reproducing this on a Mac at first. The trick is to create a
directory which you cannot write into.
Notes:
- the --xml-output does not seem to make a difference
- this affects both stable and unstable, but luckily, it is still working in
1.0.9. I wonder what has changed in between, and also what on earth it's trying
to write (probably stuff that it's downloading)
- it really is about remote repositories and not just any other repo
I don't think the walking the parent directories (which it does do) story is
quite right, however. It seems like just a simple matter of trying to write in
a non-writeable directory.
this works
----------
cd /tmp
mkdir nowrite
cd nowrite
mkdir write
chmod u-x .
cd write
darcs changes --repo=http://www.darcs.net
but this does not
-----------------
cd /tmp
mkdir nowrite
cd nowrite
darcs changes --repo=http://www.darcs.net
|
msg1827 (view) |
Author: kowey |
Date: 2007-07-14.22:20:08 |
|
See also issue76 and issue250
|
msg2586 (view) |
Author: markstos |
Date: 2008-01-19.06:16:15 |
|
I've manually tested that this resolved-in-unstable now.
|
|
Date |
User |
Action |
Args |
2007-05-15 14:44:23 | attila.lendvai | create | |
2007-07-14 21:21:23 | kowey | set | status: unread -> unknown nosy:
droundy, tommy, beschmi, kowey, attila.lendvai messages:
+ msg1825 title: darcs changes --xml-output --repo=remote-repo -> darcs changes --repo=remote-repo |
2007-07-14 22:21:03 | kowey | set | messages:
+ msg1827 superseder:
+ Can't create temporary file with 'changes --repo=URL' title: darcs changes --repo=remote-repo -> changes --repo=URL => Not a repository (still in 1.0.9+) |
2008-01-19 06:16:16 | markstos | set | status: unknown -> resolved-in-unstable nosy:
+ markstos messages:
+ msg2586 |
2008-09-04 21:30:56 | admin | set | status: resolved-in-unstable -> resolved nosy:
+ dagit |
2009-08-06 17:50:06 | admin | set | nosy:
+ jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, attila.lendvai |
2009-08-06 20:53:36 | admin | set | nosy:
- beschmi |
2009-08-10 22:04:16 | admin | set | nosy:
+ attila.lendvai, - darcs-devel, zooko, jast, Serware, mornfall |
2009-08-11 00:00:36 | admin | set | nosy:
- dagit |
2009-08-25 18:01:31 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:06:44 | admin | set | nosy:
tommy, kowey, markstos, darcs-devel, attila.lendvai, thorkilnaur, dmitry.kurochkin |
2009-10-23 22:34:52 | admin | set | nosy:
+ attila_lendvai, - attila.lendvai |
2009-10-23 23:48:51 | admin | set | nosy:
+ attila.lendvai, - attila_lendvai |
|