Crazy idea of the day: the '+' revision

Peer Sommerlund peer.sommerlund at gmail.com
Mon May 31 02:39:20 CDT 2010


On 23 May 2010 18:50, Nicolas Dumazet <nicdumz at gmail.com> wrote:
>
> 2010/5/21 Matt Mackall <mpm at selenic.com>:
>> Right now we've got a '.' revision that refers to the parent of the
>> working directory. Very handy. But we've got no way to refer to the
>> revision in the working directory. Internally, we can use repo[None] to
>> get a working context, but there's no way to refer to it except
>> implicitly on the command line. So I'm proposing adding a magical '+'
>> revision for that purpose.
>
> [cut]
> But I'm rather unhappy about the "+" symbol suggestion. To me it just
> does not make much sense and seems like some new jargon/shortcut. "."
> would have made sense for the working directory, but I dislike '+'.
>
> If possible, I'd like to keep as much as possible human-readable
> commandlines, and in this regard I'd be happier with a reserved
> keyword such as "wdir", or <insert here any better suggestion>. Only a
> few more keystrokes cant hurt.

As a not-too-technical user I very much prefer a keyword over a symbol.
The dot notation "." is already a little too unreadable in my mind.

I'd probably pick "wdir" or "workdir", but any keyword is better than
a symbol (in my mind).

Regards,
Peer


More information about the Mercurial-devel mailing list