[PATCH 2 of 3 unshelve] unshelve: shed spurious space

Siddharth Agarwal sid0 at fb.com
Wed Nov 18 17:20:58 CST 2015


# HG changeset patch
# User Siddharth Agarwal <sid0 at fb.com>
# Date 1447888696 28800
#      Wed Nov 18 15:18:16 2015 -0800
# Node ID bcb5b0e95269d5797fcdd1ba5610afa681c62d47
# Parent  0e58d7373411d93040739e3c4b8c418408b3fe8e
# Available At http://42.netv6.net/sid0-wip/hg/
#              hg pull http://42.netv6.net/sid0-wip/hg/ -r bcb5b0e95269
unshelve: shed spurious space

diff --git a/hgext/shelve.py b/hgext/shelve.py
--- a/hgext/shelve.py
+++ b/hgext/shelve.py
@@ -675,7 +675,7 @@ def unshelve(ui, repo, *shelved, **opts)
 
                 backup = repo.ui.backupconfig('phases', 'new-commit')
                 try:
-                    repo.ui. setconfig('phases', 'new-commit', phases.secret)
+                    repo.ui.setconfig('phases', 'new-commit', phases.secret)
                     return repo.commit(message, 'shelve at localhost',
                                        opts.get('date'), match)
                 finally:


More information about the Mercurial-devel mailing list