[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: sha1sum doesn't match revision number

From: Timothy Brownawell
Subject: Re: [Monotone-devel] Re: sha1sum doesn't match revision number
Date: Thu, 1 Sep 2005 17:45:44 -0500

On 9/1/05, Bruce Stephens <address@hidden> wrote:
> Bruce Stephens <address@hidden> writes:
> [...]
> >         % cat MT/revision
> >         8f5dd295d896c8937622b9ebcae3bb61c0a2e0e5
> > (This is of net.venge.monotone.)
> >         % monotone cat manifest | grep
> >         cebf734fb6a83a66665786e2c1486d4934137066
> >         % sha1sum
> >         cebf734fb6a83a66665786e2c1486d4934137066
> Hmm, "monotone cat manifest | sha1sum" gives a hash that matches what
> "monotone cat revision" says it should.  But "monotone cat revision |
> sha1sum" doesn't seem to give the hash of the revision.  I wonder why
> that is?  Is the revision hash the hash of the packed form (base64,
> gzipped, or whatever it is now)?

"monotone cat revision" gives the revision for what's in your working
copy right now, the one you'd get if you committed. MT/revision has
the base revision for your working copy, the one you checked out. You
can see that one by "monotone cat revision $(cat MT/revision)".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]