On 9/1/05, Bruce Stephens <[EMAIL PROTECTED]> wrote:
> Bruce Stephens <[EMAIL PROTECTED]> writes:
> 
> [...]
> 
> >         % cat MT/revision
> >         8f5dd295d896c8937622b9ebcae3bb61c0a2e0e5
> > (This is of net.venge.monotone.)
> >         % monotone cat manifest | grep vocab.cc
> >         cebf734fb6a83a66665786e2c1486d4934137066  vocab.cc
> >         % sha1sum vocab.cc
> >         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)".

Tim


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to