Mercurial > hg
view tests/test-issue842 @ 9637:64425c5a9257
cmdutil: minor refactoring of changeset_printer._show
- use ctx.branch() instead of directly accessing the extra field "branch"
- move definitions of locals ('extra' and 'branch') down to where they
are used
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Sat, 24 Oct 2009 19:01:40 +0200 |
parents | cb93eee1fbcd |
children |
line wrap: on
line source
#!/bin/sh hg init test cd test echo foo > a hg ci -Ama hg up -r0000 echo bar > a echo % should issue warning hg ci -Amb hg up -r0000 echo stuffy > a echo % should not issue warning hg ci -q -Amc hg up -r0000 echo crap > a hg branch testing echo % should not issue warning hg ci -q -Amd