Possible bug in Internal Python API

Miguel Araujo muchochini at gmail.com
Fri Aug 13 07:03:59 CDT 2010


>
>
> The piece of code in the screenshot and the one in your first mail differ.
> (correct)repo.changectx vs context.changectx(wrong)
>
>
Ok, I have to sorry for this. I didn't notice I was using context in one
machine and repo in the other, so that's why all this was happening to me.
Thanks for the heads up with the code Vishakh.


>
> Dirkjan's explanation stands. 'hg summary' in the directory must say
> "parent: 21:XXXXXX" .On clone hg must have updated to that particular
> revision. 'hg update tip' to update working directory to latest revision
> and
> then run the same bit of code.


Yes, you were right again!

Well, I guess this is it. Sorry to bother the devel list with this, but
yesterday I was sure something was wrong with the API after a couple hours
trying code that run in one machine and not in other.

I'm still determined to use the API for my script :D

Thanks, regards
Miguel Araujo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100813/da045011/attachment.htm>


More information about the Mercurial-devel mailing list