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

  • From: Niels Sascha Reedijk <niels.reedijk@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 6 May 2011 07:18:40 +0200

Hi,

2011/5/6 Ingo Weinhold <ingo_weinhold@xxxxxx>:
> 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).

Did you have custom changesets at the end though? Because it depends
on the existence of outgoing changesets (see hg outgoing). And yes, it
does require an Internet connection, but it is safe to say that our
build system in general seems to require that (with the default
packages).

N>

Other related posts: