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

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 06 May 2011 02:07:45 +0200

On Thu, 5 May 2011 20:40:07 +0200 Niels Sascha Reedijk 
<niels.reedijk@xxxxxxxxx> wrote:
> Here's what I found out. I suggested earlier to have the build script
> check what the relation of the current source tree with haiku-central
> is, at the same stage where now the svn revision number is fetched.
> With some help on #mercurial I found that the following would get
> close to what we want:
> hg log -r
> "parents(roots(outgoing('http://hg.haiku-os.org/haiku/haiku-trunk')))"
> It outputs the log message of the furthest parent revision on
> haiku-central (given the right argument to outgoing). [That's not
> perfect yet, but it is close]

At least here it doesn't print anything. That aside it requires an internet 
connection -- which I'd rather avoid -- and takes some time (hot almost 3 
seconds on my machine).

CU, Ingo

Other related posts: