[haiku-development] Re: git revision-tags are back

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 07 Jun 2011 14:50:11 +0200

On 2011-06-06 at 21:47:48 [+0200], Oliver Tappe <zooey@xxxxxxxxxxxxxxx> 
wrote:
> Just recently, I have noticed git's 'pack-refs' feature, which packs all
> the those tags into one big file and thus solves the performance problems
> that were the reason why I dumped the revisions-via-lightweight-tags
> approach with git.
> Now that it no longer degrades performance, I have added those tags to our
> git repo, making all the subversion revisions directly available in git (as
> 'hrevNNNNN').
> Additionally, I have adjusted the revision names for builds from git
> repositories to follow these patterns:
> 
> hrev41977
>     denotes hrev41977 as found in our central repo
> hrev41977-20-gfefefe-dirty    [package-management]
>     denotes a revision with uncommitted changes, 20 commits away from
>     hrev41977, in a branch named package-management
> 
> The first pattern will be much more common, but both forms contain a very
> obvious reference to the central revision they're based on.

Brilliant!

Am I assuming correctly that the numbering is even consistent with svn's old 
revision numbers, i.e. hrev12345 indeed refers to svn revision 12345?

CU, Ingo

Other related posts: