Update mercurial to 2.2.2

This commit is contained in:
Chris Roberts
2012-06-04 23:17:06 +00:00
parent bc212ab658
commit d587f3bde2
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff -up mercurial-2.2.2/mercurial/ui.py.orig mercurial-2.2.2/mercurial/ui.py
--- mercurial-2.2.2/mercurial/ui.py.orig 2012-06-01 22:48:21.025690112 -0600
+++ mercurial-2.2.2/mercurial/ui.py 2012-06-04 17:15:16.317980672 -0600
@@ -693,7 +693,7 @@ class ui(object):
# avoid confusion.
editor = 'E'
else:
- editor = 'vi'
+ editor = 'nano'
return (os.environ.get("HGEDITOR") or
self.config("ui", "editor") or
os.environ.get("VISUAL") or