TK Soh avatar TK Soh committed 5165017

coding style: one space after commas

Comments (0)

Files changed (1)

 
     return backups
 
-def getshelfpath(repo,name):
+def getshelfpath(repo, name):
     if name:
         shelfpath = "shelves/" + name
     else:
     
     # Shelf name and path
     shelfname = opts.get('name')
-    shelfpath = getshelfpath(repo,shelfname)
+    shelfpath = getshelfpath(repo, shelfname)
     
     if os.path.exists(repo.join(shelfpath)) and not forced:
         raise util.Abort(_('shelve data already exists'))
 
     # Shelf name and path
     shelfname = opts.get('name')
-    shelfpath = getshelfpath(repo,shelfname)
+    shelfpath = getshelfpath(repo, shelfname)
 
     # List all the active shelves by name and return '
     if opts['list']:
            _('append to existing shelve data')),
           ('', 'all', None,
            _('shelve all changes')),
-          ('n','name','',
+          ('n', 'name', '',
            _('shelve changes to specified shelf name')),
          ] + commands.walkopts,
          _('hg shelve [OPTION]... [FILE]...')),
          [('i', 'inspect', None, _('inspect shelved changes only')),
           ('f', 'force', None, 
            _('proceed even if patches do not unshelve cleanly')),
-           ('n','name','',
+           ('n', 'name', '',
             _('unshelve changes from specified shelf name')),
-           ('l','list',None,_('list active shelves')),
+           ('l', 'list', None, _('list active shelves')),
          ],
          _('hg unshelve [OPTION]... [FILE]...')),
 }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.