[haiku-development] Re: Mercurial version string Was:Re: Re: VOTE: Git or Mercurial (hg) as Haiku's new source control tool

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 12 May 2011 09:28:17 -0400

On Thu, May 12, 2011 at 9:21 AM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> Would adding a revision number to the commit message when changesets are 
> pushed
> to the server be possible? Or does that change the identity of the changeset 
> and/or lead
> to clashes?

Git (and I suspect Mercurial) use the commit message contents as part
of what generates the SHA1 hash. So changing this on the server would
change the SHA1 hash of an existing commit and probably cause issues
with clients. I'm not even sure what would happen.


Other related posts: