New submission from David Roundy <[EMAIL PROTECTED]>:

I get the following problem when running changes on a remote repo, if I'm
not currently in a darcs repository:

$ darcs changes --repo=http://darcs.net

darcs failed:  Not a repository: http://darcs.net (Failed to create
    temporary file darcs: permission denied (Permission denied))

I suspect that what's happening is that darcs is setting the working
directory to the root directory in a naive attempt to put ourselves into
the main directory of a repository, and my user doesn't have write
permissions there for creating a temporary file.

If I run this command in a darcs repository, there's no problem.

And by the way, I haven't looked at the source code for this at all (and am
not sure when I'll have time to look into this).

I only tested this using:

$ darcs --exact-version
darcs compiled on Oct 31 2006, at 01:58:00
# configured Mon Oct  9 15:12:44 EDT 2006
./configure --no-create --no-recursion

Context:

[TAG 1.0.9rc1
Tommy Pettersson <[EMAIL PROTECTED]>**20061008175207]

so I don't know if this bug might be fixed already (although I doubt it).

David

----------
messages: 1395
nosy: EricKow, beschmi, droundy, tommy
status: unread
title: changes --repo=URL failure outside a repository

____________________________________
Darcs issue tracker <[EMAIL PROTECTED]>
<http://bugs.darcs.net/issue385>
____________________________________

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to