On Wed, Jun 4, 2014 at 6:03 PM, Nico Williams <n...@cryptonector.com> wrote:
> On Wed, Jun 4, 2014 at 9:07 AM, Stephan Beal <sgb...@googlemail.com> > wrote: > > On Wed, Jun 4, 2014 at 12:02 AM, Nico Williams <n...@cryptonector.com> > > wrote: > >> Mercurial too had "heavy-duty" branches only, then they added > >> "bookmarks" that are very similar to git branches. Since a "bookmark" > >> is just a symbolic name for a commit... this is just a new table at > >> best, with two columns. > > > > Bookmarks. That's a nice idea, actually. Added to my TODO list. > > It's interesting that I just sold you on the git branching model, by > using the Mercurial analog. > i was thinking more generically: f bookmark add blah trunk f bookmark add 'oops!' deadbeefabcdef0123 f bookmark ls [blah] = trunk [oops!] = deadbeefabcdef0123 f co bk:oops f merge bk:trunk i.e. a system with which to assign non-version-tracked aliases to arbitrary other symbols which we already know how to resolve. They needn't be push/pull'able, but it might be nice to be able to. We already have precedents for "special symbols" like bk:NAME, e.g.: fossil checkout rid:1 will (unless your repo was created with no empty initial commit) check out the first version of the repo (i.e. (WHERE blob.rid = 1)). -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users