# HG changeset patch # User Idan Kamara # Date 1326831980 -7200 # Node ID dd63d69a5ebf166be56796e29dd2e4560154c077 # Parent 2b36619ec0a0a1ae72eff78330aaf021ca4af8a8 client: make _parserevs a static method diff -r 2b36619ec0a0 -r dd63d69a5ebf hglib/client.py --- a/hglib/client.py Tue Jan 17 22:36:48 2012 +0200 +++ b/hglib/client.py Tue Jan 17 22:26:20 2012 +0200 @@ -96,7 +96,8 @@ else: return channel, self.server.stdout.read(length) - def _parserevs(self, splitted): + @staticmethod + def _parserevs(splitted): ''' splitted is a list of fields according to our rev.style, where each 6 fields compose one revision. ''' revs = []