monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: [Monotone-commits-diffs] Revision 33eb2173fe9b5


From: Hugo Cornelis
Subject: Re: [Monotone-devel] Re: [Monotone-commits-diffs] Revision 33eb2173fe9b55da6b26464380c68b8c02638a68
Date: Wed, 31 Oct 2007 13:15:32 -0500

On 10/31/07, Zack Weinberg <address@hidden> wrote:
> > Eh..  a dot normally means current working directory, not project root.
> > Can we *please* use some other sign or name or anything?
> >
> > IMO, disregarding the current working directory is already annoying
> > enough. But introducing ambiguity with path names is an absolute
> > non-starter.
>
> Whatever happened to the suggestion of prefixing every pathname with a
> sequence of "../" as necessary to make them relative to the original
> working directory?  (And of course removing any redundant bits.)  Then
> "." would be unambiguously the root if the command was executed in the
> root, and if you were somewhere else the root would be "../../.." or
> something like that.
>


Yes, I like that idea very much, for simple shell scripting.

If all path formatting code gets centralized, then it becomes easy to
have absolute or relative or whatever path formatting, depending on a
command line options.

Have no clue about the work involved, but getting things centralized
first, as suggested, seems to me the way to start addressing this
problem.


Hugo


-- 
                    Hugo Cornelis Ph.D.

                  Research Imaging Center
   University of Texas Health Science Center at San Antonio
                    7703 Floyd Curl Drive
                 San Antonio, TX  78284-6240

                    Phone: 210 567 8112
                      Fax: 210 567 8152




reply via email to

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