Mercurial > evolve
comparison tests/test-divergent.t @ 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 | 9afe9e0191a1 |
children | e359d33856c3 35c666ef724e |
comparison
equal
deleted
inserted
replaced
1537:50e683d9835e | 1538:ef5da2310398 |
---|