Branches and web interface and URLs

Laurens Holst laurens.nospam at grauw.nl
Thu Mar 18 06:16:57 CDT 2010


Op woensdag 17-03-2010 om 18:35 uur [tijdzone -0500], schreef Matt
Mackall:
> On Wed, 2010-02-17 at 13:47 +0100, Dirkjan Ochtman wrote:
> > On Wed, Feb 17, 2010 at 13:30, Mads Kiilerich <mads at kiilerich.com> wrote:
> > > What do http://selenic.com/repo/hg/branches really show? Apparently not
> > > "branches" as the texts indicate, but more like "current named branch
> > > heads"?
> > 
> > Why do you say that? From the code, I think it shows all named branches.
> > 
> > > Wouldn't it make sense if the branch names linked to for example
> > > http://selenic.com/repo/hg/branch/stable (which shows "changesets on the
> > > branch and their ancestors"?) ?
> > 
> > Yes, that would make sense, but no one has worked on it so far.
> 
> The trickiest thing here, I think, is to retrofit a branch selection
> syntax into our URL schema. We might want to do this with something like
> cookies instead.

I would be careful with that, that wouldn’t be very REST-like, at all.

Plus it introduces usability problems with regard to JavaScript on/off,
multiple tabs, linkability, etc.

~Laurens

-- 
~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, developer, Utrecht, the Netherlands
Website: www.grauw.nl. Backbase employee; www.backbase.com



More information about the Mercurial-devel mailing list