mercurial/commands.py
changeset 27899 78b9fdb844c1
parent 27898 2cc44efcb7cf
child 27911 645e78845383
--- a/mercurial/commands.py	Sun Jan 17 19:33:02 2016 +0100
+++ b/mercurial/commands.py	Sun Jan 17 19:33:02 2016 +0100
@@ -3889,6 +3889,10 @@
         return _dograft(ui, repo, *revs, **opts)
 
 def _dograft(ui, repo, *revs, **opts):
+    if revs and opts['rev']:
+        ui.warn(_('warning: inconsistent use of --rev might give unexpected '
+                  'revision ordering!\n'))
+
     revs = list(revs)
     revs.extend(opts['rev'])