monotone

Issue 108: Enhancement: Output conflict summary for 'mtn conflicts store'

Reported by joe 23, Nov 19, 2010

'mtn conflicts store' generates no messages at all, leaving the user 
to wonder, and to type additional commands to find out what 
happened.


If mtn had this, then 'mtn conflicts store --conflicts-file 
/dev/null' would be close to an implementation of 'mtn 
merge|prop|explict_merge --dry-run', which is another feature that 
would definitely be appreciated.


Steps to reproduce the problem:
-------------------------------

1. mtn conflicts store

Expected result:
----------------
Some possibilities:

3 conflicts found
or
5 conflicts stored in _MTN/conflicts
or
1 single-file and 3 two-file conflicts found
or
No conflicts
or
list of conflicts

Actual results:
---------------
(no output at all)


Output of `mtn version --full`:
-------------------------------
0.99.1

Comment 1 by Stephen Leake, Nov 20, 2010

'mtn show_conflicts' outputs the list of conflicts without storing 
them. Perhaps that should be renamed to 'mtn conflicts show_all'

It is reasonable to have 'mtn conflicts store' output a summary.

Fixed in c26b91d1884512efa7adf1b209f207d142c03606
Status: Fixed

Comment 2 by joe 23, Nov 20, 2010

Wow, I had no idea about 'mtn show_conflicts', because it isn't 
listed in 'mtn help conflicts' - it's in the 'informative' help 
group. 'mtn conflicts show_all' as an alias might be very useful for 
helping clueless people like me find it. Or adding show_conflicts in 
the 'tree' help group. Or both.

Thanks alot!

Created: 14 years 2 days ago by joe 23

Updated: 14 years 1 day ago

Status: Fixed

Followed by: 1 person

Labels:
Type:Defect
Priority:Medium

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status