Commits

TK Soh  committed fd9ddbd

do not use strings as comments

  • Participants
  • Parent commits 8ce2d8d

Comments (0)

Files changed (1)

     if name:
         shelfpath = "shelves/" + name
     else:
-        " Check if a shelf from an older version exists "
+        # Check if a shelf from an older version exists
         if os.path.isfile(repo.join('shelve')):
             shelfpath = 'shelve'
         else:
 
     forced = opts['force'] or opts['append']
     
-    ' Shelf name and path '
+    # Shelf name and path
     shelfname = opts.get('name')
     shelfpath = getshelfpath(repo,shelfname)
     
 def unshelve(ui, repo, *pats, **opts):
     '''restore shelved changes'''
 
-    ' Shelf name and path '
+    # Shelf name and path
     shelfname = opts.get('name')
     shelfpath = getshelfpath(repo,shelfname)
 
-    ' List all the active shelves by name and return '
+    # List all the active shelves by name and return '
     if opts['list']:
-        " Check for shelve file at old location first "
+        # Check for shelve file at old location first
         if os.path.isfile(repo.join('shelve')):
             ui.status('default')
         
-        " Now go through all the files in the shelves folder and list them out "
+        # Now go through all the files in the shelves folder and list them out
         dirname = repo.join('shelves')
         if os.path.isdir(dirname):
             for filename in os.listdir(repo.join('shelves')):