diff tests/test-obsolete.t @ 274:6622a24f3b0f

obsolete: fix rebase wrapping ui and repo arguments were swapped which made --keep calls traceback.
author Patrick Mezard <patrick@mezard.eu>
date Tue, 19 Jun 2012 09:23:50 +0200
parents 72af5aa43997
children 336210dada95
line wrap: on
line diff
--- a/tests/test-obsolete.t	Tue Jun 19 10:02:32 2012 +0200
+++ b/tests/test-obsolete.t	Tue Jun 19 09:23:50 2012 +0200
@@ -453,3 +453,26 @@
   adding manifests
   adding file changes
   added 1 changesets with 1 changes to 1 files (+1 heads)
+  $ cd ..
+
+
+Test compatibility with other extensions
+
+  $ hg init compat
+  $ cd compat
+  $ echo a > a
+  $ hg ci -Am adda
+  adding a
+  $ echo a >> a
+  $ hg ci -m changea
+  $ hg up 0
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ echo b > b
+  $ hg ci -Am addb
+  adding b
+  created new head
+
+Test rebase --keep warning
+
+  $ hg --config extensions.rebase= rebase -d 1 --keep
+  WARNING --keep option ignored by experimental obsolete extension (no-eol)