On Wed, 11 May 2011 23:17:57 +0200, Niels Sascha Reedijk <niels.reedijk@xxxxxxxxx> wrote:
Well, here's my attempt at getting a meaningful revision string (like I put in the other thread). For my tree, with two custom commits, the output would be: custom:64fc2d4b5805~2011-05-11 derived from haiku-central:47b487e35b93~2011-05-07 In case of connection troubles, it would be: unverified:64fc2d4b5805~2011-05-11
Git can describe the remote branch without needing a network connection. I'm thinking the same data would be available to Hg, no?
Does the script also find out what haiku-central changeset the local tree is derived from in case it's not directly based on the haiku-central tree (but with some forks in between)? That wouldn't be possible without a network connection, I suppose.
Best regards -- Brecht