Mercurial > evolve
comparison hgext/simple4server.py @ 1538:ef5da2310398
inhibit: improve handling of error cases for bookmark -D
Before this patch bookmark -D was crashing in some cases like:
hg book -Dmaster-fix. This was because -m is a valid option for hg bookmark.
This patch disallows using -m with -D (moving and pruning does not make much
sense) and throws an error instead of crashing if the command is malformed.
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Fri, 20 Nov 2015 10:30:42 -0800 |
parents | 5e82d78f5872 |
children | 4229d1dae5ad |
comparison
equal
deleted
inserted
replaced
1537:50e683d9835e | 1538:ef5da2310398 |
---|