Mercurial > hg
view tests/test-rebuildstate.t @ 16023:90f8b8dd0326 stable
push: return 1 if no changes found (issue3228)
Currently we have the following return codes if nothing is found:
commit incoming outgoing pull push
intended 1 1 1 1 1
documented 1 1 1 0 1
actual 1 1 1 0 0
This fixes the lower-right entry.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 30 Jan 2012 11:32:09 -0600 |
parents | 9ab2b3b730ee |
children | f2719b387380 |
line wrap: on
line source
basic test for hg debugrebuildstate $ hg init repo $ cd repo $ touch foo bar $ hg ci -Am 'add foo bar' adding bar adding foo $ touch baz $ hg add baz $ hg rm bar $ hg debugrebuildstate state dump after $ hg debugstate --nodates | sort n 644 -1 bar n 644 -1 foo status $ hg st -A ! bar ? baz C foo