monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] keyring integration from a user POV


From: Derek Scherger
Subject: Re: [Monotone-devel] keyring integration from a user POV
Date: Wed, 11 Apr 2007 21:53:49 -0600
User-agent: Thunderbird 1.5.0.10 (X11/20070304)

Justin Patrin wrote:
> On 4/9/07, Benoît Dejean <address@hidden> wrote:
>> Le lundi 09 avril 2007 à 14:40 -0700, Justin Patrin a écrit :
>> > On 4/9/07, Benoît Dejean <address@hidden> wrote:

>> stat64("/tmp/mtn/_MTN", 0x7fea8af8)     = -1 ENOENT (No such file or
>> directory)
>> stat64("/tmp/_MTN", {st_mode=S_IFDIR|0700, st_size=144, ...}) = 0
>> stat64("/tmp/_MTN", {st_mode=S_IFDIR|0700, st_size=144, ...}) = 0
>> stat64("/tmp/_MTN", {st_mode=S_IFDIR|0700, st_size=144, ...}) = 0
>> stat64("/tmp/_MTN", {st_mode=S_IFDIR|0700, st_size=144, ...}) = 0
>> stat64("/tmp/_MTN/..", {st_mode=S_IFDIR|S_ISVTX|0777,
>> st_size=1016, ...}) = 0
>> chdir("/tmp")
>> ...
>> open("mtn.key", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 4
>>
> 
> Hmmm....I don't know why that would be happening, the code is thus:
> ofstream fout(idx(args,0)().c_str(), ofstream::out);
> unless mtn is elsewhere changing the path in the arg to be ../ but I
> kind of doubt it... perhaps mtn always changes its dir to the root of
> the workspace when in a workspace. I'm not sure about that. Anyone
> else care to comment?

Yeah, monotone always searches for a workspace root (that is a directory
that contains an _MTN directory) in or above the current directory.
If/when it finds the workspace root it does chdir to it.

HTH

Cheers,
Derek







reply via email to

[Prev in Thread] Current Thread [Next in Thread]