[issue3091] graft shows a misleading message

Stefano Tortarolo bugs at mercurial.selenic.com
Tue Nov 8 13:49:28 CST 2011


New submission from Stefano Tortarolo <stefano.tortarolo at gmail.com>:

Given:

A - B - C
 \
  D - E

And we graft C onto E it works correctly.


A - B - C
 \
  D - E - C'

If we then try to graft again C' onto C the cset would be empty, it doesn't 
create (as 
expected) a new cset, but still it doesn't print anything more than: 
"grafting revision C'".

In my opinion it should say something like: "Nothing to graft"
I've attached a test to reproduce this issue.

----------
messages: 17982
nosy: astratto, mpm
priority: bug
status: unread
title: graft shows a misleading message
topic: 2.0

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3091>
____________________________________________________


More information about the Mercurial-devel mailing list