monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Root directory name in inventory


From: Thomas Moschny
Subject: Re: [Monotone-devel] Root directory name in inventory
Date: Tue, 25 Sep 2007 10:04:51 +0200
User-agent: KMail/1.9.7

On Tuesday 25 September 2007, Nathaniel Smith wrote:
> While I'm generally sympathetic to the idea of presenting the root
> directory in some more user-friendly name, it seems a bit odd to have
> an ad hoc user-friendly of writing it in a non-user-friendly
> interface.  Especially since it will still need special-case handling
> by consumers of the API (no other directory name starts with ".", for
> instance), it isn't needed to make things parseable (since basic_io is
> quoted, empty strings are perfectly easy to represent), and it
> actually makes inventory inconsistent with the rest of the automate
> API (I'm thinking in particular of things like 'automate get_revision'
> and 'automate get_manifest_of').
>
> Does anyone want to defend this, or should we just axe it?

There has been some discussion before, in a hijacked thread, see 
http://lists.gnu.org/archive/html/monotone-devel/2007-06/msg00013.html
and around. Personally, I don't like the dot-is-special-for-root, neither. 

What about presenting (not storing) each directory (including root) with a 
trailing slash '/' ? This would also be usefull for conflict error messages 
(see the neighbor thread).

- Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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