Dan Villiom Podlaski Christiansen  committed 966e265

import: warn about new unstable changesets

'hg import' can add new unstable changesets, for example when invoked
with '--hidden' or '--exact', or when the working directory parent
already is unstable.

  • Participants
  • Parent commits 942aaba
  • Branches default

Comments (0)

Files changed (3)

 - removed the qsync extension. The only user I knew about (logilab) is not
   using it anymore. It not compatible with coming Mercurial version 2.9.
 - add progress indicator for long evolve command
+- report troubles creation from `hg import`
 3.2.0 -- 2013-11-15

File hgext/

 # XXX this could wrap transaction code
 # XXX (but this is a bit a layer violation)

File tests/test-obsolete.t

   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     add c
+Check import reports new unstable changeset:
+  $ hg up --hidden 2
+  1 files updated, 0 files merged, 1 files removed, 0 files unresolved
+  working directory parent is obsolete!
+  $ hg export 9468a5f5d8b2 | hg import -
+  applying patch from stdin
+  1 new unstable changesets