~bzr-pqm/bzr/bzr.dev

1185.82.129 by Aaron Bentley
Removed confusing text from the test module
1
--- orig/commands.py
2
+++ mod/commands.py
3
@@ -1337,7 +1337,8 @@
4
 
5
     def set_title(self, command=None):
6
         try:
7
-            version = self.tree.tree_version.nonarch
8
+            version = pylon.alias_or_version(self.tree.tree_version, self.tree,
9
+                                             full=False)
10
         except:
11
             version = "[no version]"
12
         if command is None:
13
@@ -1983,7 +1984,11 @@
14
                                          version)
15
         if len(new_merges) > 0:
16
             if cmdutil.prompt("Log for merge"):
17
-                mergestuff = cmdutil.log_for_merge(tree, comp_version)
18
+                if cmdutil.prompt("changelog for merge"):
19
+                    mergestuff = "Patches applied:\\n"
20
+                    mergestuff += pylon.changelog_for_merge(new_merges)
21
+                else:
22
+                    mergestuff = cmdutil.log_for_merge(tree, comp_version)
23
                 log.description += mergestuff
24
         log.save()
25
     try: