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

2005-09-03 Thread Nathaniel Smith
On Fri, Sep 02, 2005 at 12:44:24PM +0100, Bruce Stephens wrote: > "Todd A. Jacobs" <[EMAIL PROTECTED]> writes: > > But that's okay. Generally speaking, one would be looking for the > > most recent revision in which a given version of the file > > exists. The use case you're pointing out, where it m

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

2005-09-02 Thread Bruce Stephens
"Todd A. Jacobs" <[EMAIL PROTECTED]> writes: [...] > But the current manifest contains only the current file set, right? Yes. > [...] If I understand the purpose of the manifest correctly, then > searching it for an historical hash might not be very useful unless > I checked each previous revi

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

2005-09-02 Thread Todd A. Jacobs
On Thu, Sep 01, 2005 at 09:58:48PM +0100, Bruce Stephens wrote: % monotone cat manifest | grep vocab.cc cebf734fb6a83a5786e2c1486d4934137066 vocab.cc % sha1sum vocab.cc cebf734fb6a83a5786e2c1486d4934137066 But the current manifest contains only the current

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

2005-09-01 Thread Bruce Stephens
Timothy Brownawell <[EMAIL PROTECTED]> writes: [...] > "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 "monoton

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

2005-09-01 Thread Timothy Brownawell
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 > > ceb

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

2005-09-01 Thread Bruce Stephens
Bruce Stephens <[EMAIL PROTECTED]> writes: [...] > % cat MT/revision > 8f5dd295d896c8937622b9ebcae3bb61c0a2e0e5 > (This is of net.venge.monotone.) > % monotone cat manifest | grep vocab.cc > cebf734fb6a83a5786e2c1486d4934137066 vocab.cc > % sha1sum voc

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

2005-09-01 Thread Bruce Stephens
"Todd A. Jacobs" <[EMAIL PROTECTED]> writes: > A while back, I'd asked about how to identify the revision which > matched a file stored outside the repository. IIRC, one of the > suggestions was to use sha1sum to get the hash and find the matching > revision, but that doesn't appear to work. The f