[haiku-development] Re: Git/Hg: some speed tests

  • From: Clemens <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 05 May 2011 09:47:19 +1200

On Thu, 05 May 2011 09:30:06 +1200, Niels Sascha Reedijk <niels.reedijk@xxxxxxxxx> wrote:

No, that sounds bad. But if you found a solution for git that is
essentially a hack (sorry, customization), then that doesn't mean that
there won't be a similar type of solution with Mercurial.

Here's one (that admittedly requires some checking for
implementability). It should be possible to come up with an extension
that during a pull creates a map of all central revision numbers. it
should then be possible to specify them in the commands as if they
were tags. As an added bonus, this extension might also map the svn
revision numbers. So you can do a:

hg checkout r49430 (svn revision)
hg checkout haiku:43449 (haiku-central revision)

The extension can be available by default on Haiku, and easily
installed by those who want/need it on any other platform. Advantage:
no clouding up of tagging namespace.

the difference is that the git hack it is already working ;)


Other related posts: