[Top][All Lists]

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

Re: [Arx-users] Error trying to pull ArX 2.0

From: Walter Landry
Subject: Re: [Arx-users] Error trying to pull ArX 2.0
Date: Sat, 02 Oct 2004 22:49:27 -0400 (EDT)

Kevin Smith <address@hidden> wrote:
> Walter Landry wrote:
> > Kevin Smith <address@hidden> wrote:
> >>Hmm. I still don't appreciate the current directory getting cluttered 
> >>with ,, files. Would it be possible to create the destination directory 
> >>first (perhaps with a mangled name, like "project-incomplete"), and 
> >>create all the temp files inside it?
> > 
> > 
> > The temp directory has a mangled name indicating the command, the
> > revision, and when it was executed.  How would you do it differently?
> Only slightly, I guess. Remember that this was my very first experience 
> with ArX, so I really didn't know what to expect. I wasn't even certain 
> that the 'get' would create a subdirectory, rather than dropping the 
> gotten archive into the current directory.
> So when I saw this:
> ,,get.dists--arx--1.0--patch-186.20041001T034847
> it wasn't clear to me that this was the one and only file (directory) 
> that would get orphaned. In my mind, this was just one of the many 
> patches that it was going to try to pull, so I was imagining a whole 
> pile of these ending up in my current directory.

Perhaps documentation could be improved.

> Now that I understand the situation better, and your explanation of the 
> temp filename, it makes much more sense. Maybe it really is ok (best) as 
> it is. I guess my primary expectation would be that it would immediately 
> create the project directory (named 'arx' in this case) first, and do 
> all its work in there.

I am hesitant to make the final directory before the command
completes.  In any case, for some commands, there is no final
directory.  For example, in-place merging needs to build up a patch
that is applied to the current directory.  "arx diff" creates a patch
directory that is removed at the end.  Since we have to create temp
directories for some commands, I think it is best if the mechanism is
consistent among all commands.

> My secondary thought would be that it might create a directory named 
> something like: arx-incomplete or maybe ,,arx and then rename it at the 
> end of the operation.
> But I do like having more information about what was being attempted at 
> the time. I guess the word that really threw me off was patch. I would 
> much rather see something like:
> ,,get.dists--arx--1.0--20041001T034847
> or maybe
> ,,arx--get.dists--20041001T034847

In ArX-2.0, there shouldn't be the word patch anymore.  It will be
something like ,,get.dists.arx.1.0,186.20041001T034847


reply via email to

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