Mercurial > public > mercurial-scm > python-hglib
view tests/test-branch.py @ 10:fce3102c19e5
client: sort commands by name
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Tue, 09 Aug 2011 23:24:40 +0300 |
parents | eac8be119d81 |
children | 0549d00a617d |
line wrap: on
line source
import common import hglib class test_branch(common.basetest): def test_basic(self): self.assertEquals(self.client.branch(), 'default') self.append('a', 'a') rev = self.client.commit('first', addremove=True) branches = self.client.branches() self.assertEquals(rev, branches[rev.branch])