Patchwork [2,of,3,unshelve] unshelve: shed spurious space

login
register
mail settings
Submitter Siddharth Agarwal
Date Nov. 18, 2015, 11:20 p.m.
Message ID <bcb5b0e95269d5797fcd.1447888858@dev666.prn1.facebook.com>
Download mbox | patch
Permalink /patch/11494/
State Accepted
Headers show

Comments

Siddharth Agarwal - Nov. 18, 2015, 11:20 p.m.
# HG changeset patch
# User Siddharth Agarwal <sid0@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

Patch

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@localhost',
                                        opts.get('date'), match)
                 finally: