comparison tests/test-obsolete.t @ 763:966e2659e989

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.
author Dan Villiom Podlaski Christiansen <dan@cabo.dk>
date Thu, 24 Oct 2013 10:42:50 +0200
parents 64c6bdfd0518
children b96d51a357bd
comparison
equal deleted inserted replaced
762:942aabaa8a8e 763:966e2659e989
676 changeset: 2:4538525df7e2 676 changeset: 2:4538525df7e2
677 user: test 677 user: test
678 date: Thu Jan 01 00:00:00 1970 +0000 678 date: Thu Jan 01 00:00:00 1970 +0000
679 summary: add c 679 summary: add c
680 680
681
682 Check import reports new unstable changeset:
683
684 $ hg up --hidden 2
685 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
686 working directory parent is obsolete!
687 $ hg export 9468a5f5d8b2 | hg import -
688 applying patch from stdin
689 1 new unstable changesets