Thoughts on remotenames additions to remotebranches

Augie Fackler raf at durin42.com
Fri Jan 16 10:11:51 CST 2015


On Wed, Jan 14, 2015 at 06:46:33PM -0800, Gregory Szorc wrote:
> On Mon, Jan 12, 2015 at 12:52 PM, Ryan McElroy <rm at fb.com> wrote:
>
> >
> > * Allowing certain remote bookmarks to always be visible (eg,
> > master/@/trunk remote bookmarks)
> > * Prevent local bookmarks from interfering with remote bookmark names (eg,
> > prevent '/' in bookmark names)
> >
>
> I apologize if I'm late to the conversion and missed something, but are
> there alternatives to using "/" as the bookmark/remote/label separator? I'm
> +0 on a character for "namespacing" bookmarks and IMO "/" fits that role
> nicely because it's how filesystem paths work and people are familiar with
> it. ":" is often used to delimit the kinds of things we are delimiting. Can
> we not use a colon because of revsets or some such?

The nice thing about / is that it doesn't have meaning in revsets, so
you don't need extra quoting. I believe you'd always have to do lots
of quoting around : in a revset.


> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list