How to identify the source's revision?

Daniel(原志) dlin.tw at gmail.com
Wed Sep 17 05:38:38 UTC 2008


Here is my hg's version.

hg --version
Mercurial Distributed SCM (version 1.0.2)

Copyright (C) 2005-2008 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


On Wed, Sep 17, 2008 at 12:58 PM, Dirkjan Ochtman <dirkjan at ochtman.nl>wrote:

> Daniel(原志) wrote:
>
>> The error message is:
>>
>>  File "match.py", line 10, in match
>>    data1 = repo[None][fname].data()
>>
>> TypeError: 'parentrevspecrepo' object is unsubscriptable
>>
>
> Looks like you're using it with a stable Mercurial version. The match
> extension, as is, can only work against crew or main version of hg.
>
> Cheers,
>
> Dirkjan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20080917/a7511bfa/attachment-0001.html>


More information about the Mercurial mailing list