Commits

Martin Vejnár  committed 306562c

Added docstring for 'depstatus'.

  • Participants
  • Parent commits 59c8560

Comments (0)

Files changed (1)

         if wlock: wlock.release()
 
 def depstatus(ui, repo):
+    '''show changes in the dependency list
+    
+    Show status of dependencies in the dependency list.
+    
+    The dependencies are written in '<alias> <rev> <dir>' format,
+    unless the dependency is not present, in which case <rev> and <dir>
+    are omitted. The original values are shown in parentheses.
+    The directory path is relative to the repository root
+    and uses '/' as a path component separator.
+    
+    The unmodified dependencies are not shown unless -v/--verbose
+    option is used.
+    
+    The codes used to show the status of dependecies are:
+    M = modified
+    A = added
+    R = removed
+      = unmodified
+    '''
     manifest = _load_manifest(repo)
     config = _get_config(ui, repo)
     deplist = _find_deplist(ui, repo, config, rev=None, default=[])