1. Graham Helliwell
  2. guestrepo

Commits

Graham Helliwell  committed ff8f4eb

Re-add this option as a no-op for backwards compatability

  • Participants
  • Parent commits afe81cd
  • Branches Download

Comments (0)

Files changed (1)

File guestrepo/__init__.py

View file
 
 jsonopt = [('', 'json', False,
             "output as a JSON array")]
+            
+silentnoop = [('s', 'silentnoop', False,
+           "No effect - only here for backwards compatibility")]
 
 
 # Command table for the guestrepo extension
 # format: {"command-name": (function, options-list, help-string)}
 cmdtable = {
    "grpull": (grpull,
-              localopt + threadopt
+              localopt + threadopt + silentnoop
               + [('u', 'update', False, "grupdate after grpull")],
               "hg grpull [REPO [+]] [options]"),
    "grpush": (grpush,
-              localopt + threadopt
+              localopt + threadopt + silentnoop
               + [('', 'new-branch', False, "create new branches if necessary"),
                  ('', 'frozen', False, "only revision specified in grstate"),
                 ],
               "hg grpush [REPO [+]] [options]"),
    "grupdate": (grupdate,
-                localopt + threadopt
+              localopt + threadopt + silentnoop
                 + [('p', 'pull', False, "grpull before running grupdate")]
                 + [('f', 'file', '', "update using a .hgguestrepo file", 'FILE')],
                 "hg grupdate [REPO [+]] [options]"),