Mercurial > hg
diff mercurial/filelog.py @ 11451:51021f4c80b5 stable
resolve: do not crash on empty mergestate
I managed to get an empty .hg/merge/state file by interrupting a merge
by pressing Control-C. This lead to this error:
TypeError: a2b_hex() argument 1 must be string or read-only buffer,
not None
since localnode is assigned None before the iteration over lines in
the mergestate begins.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 27 Jun 2010 23:12:05 +0200 |
parents | d8d1b56d4519 |
children | a463e3c50212 |