[haiku-development] Re: VOTE: Git or Mercurial (hg) as Haiku's new source control tool

  • From: Oliver Tappe <zooey@xxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 14 May 2011 11:56:44 +0200

On 2011-05-14 at 00:33:42 [+0200], Ryan Leavengood <leavengood@xxxxxxxxx> 
wrote:
> On Fri, May 13, 2011 at 5:59 PM, Oliver Tappe <zooey@xxxxxxxxxxxxxxx> wrote:
> >
> > Ok, I finally found the time to implement a way of fetching somewhat 
> > useful
> > revisions from git repos.
> > They look like this (for a clean state, i.e. a revision from Haiku's 
> > repo):
> >        haiku/master-39382-g1234567
> > or like this (for a revision not available in Haiku's repo):
> >        haiku/master-39387-g7654321 [haiku/master-39382-g1234567]
> > or even like this (for a revision with changes in the working dir):
> >        haiku/master-39387-g7654321-dirty [haiku/master-39382-g1234567]
> 
> So the second number is just a count of the commits, more or less?

It's the distance to the first commit of the current branch, so for master it 
is nearly a commit count (minus the number of commits that are only found in 
the release branches).

> That might even match up with the SVN revisions in a git svn clone of
> our SVN repo.

Yeah, you wish :-), but it doesn't match up, as there are commits living in 
other branches than trunk.

cheers,
        Oliver

Other related posts: