James Carlson wrote: > Rafael Vanoni writes: >> The repo I'm running this on has no active list (hg status -m is empty). >> But that should be okay since hg runs the checks against the parent, and >> not the changed files - right? > > No. hg runs the checks *only* on the locally changed files. It > refers to the parent in order to figure out which files were changed. > >> 'hg cstyle' finishes okay but misses all style errors. Same for nits. >> Any ideas ? > > If you have no active list, then you cannot have any style errors. > You have nothing changed that would need to be checked. > > The point of "pbchk" is to check your changed files before doing a > putback ("push"). If you haven't changed anything, then you're > probably not going to put anything back. > > It's similar in functionality to "wx pbchk," which was used with > Teamware.
Ok. Got a bit confused since hg tracks changes automatically. >> AttributeError: 'NoneType' object has no attribute 'branch' > > I haven't been able to replicate that problem. It might help to post > more information about your workspace, if possible. It's a clone of hg.os.org/hg/tesla/powertop, which is synced against b82. Running 'hg pbchk' with an empty active list results in that error. Don't know what other kind of information is relevant. Let me know what else can help track this down. thanks Rafael