diff tests/test-topic.t @ 1874:ec28b6c3414a

topic: fix changing topics of commits that have an amend_source Includes a test for this specific case, but we should probably spend more time squinting at the interactions between the current topic wrapper function and commitctx for memctx instances.
author Augie Fackler <raf@durin42.com>
date Fri, 11 Dec 2015 12:53:20 -0500
parents 995617c7f2fc
children d49f75eab6a3
line wrap: on
line diff
--- a/tests/test-topic.t	Fri Dec 11 12:53:38 2015 -0500
+++ b/tests/test-topic.t	Fri Dec 11 12:53:20 2015 -0500
@@ -637,3 +637,6 @@
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     fran?
   
+Readding the same topic with topic --change should work:
+  $ hg topic --change . watwat
+  changed topic on 1 changes