diff mercurial/localrepo.py @ 10371:eacfff116e17

strip apostrophes from an error messages
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Sun, 07 Feb 2010 15:09:02 +0100
parents 0d64b30b35c3
children 9be6c5900c07
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Feb 07 14:53:17 2010 +0100
+++ b/mercurial/localrepo.py	Sun Feb 07 15:09:02 2010 +0100
@@ -1564,7 +1564,7 @@
 
                     newbranches = list(set(localbrheads) - set(remotebrheads))
                     if newbranches: # new branch requires --force
-                        branchnames = ', '.join("'%s'" % b for b in newbranches)
+                        branchnames = ', '.join("%s" % b for b in newbranches)
                         self.ui.warn(_("abort: push creates "
                                        "new remote branches: %s!\n")
                                      % branchnames)