[PATCH 2 of 2] more verbose help for add

Eric Bloodworth ergosys at gmail.com
Sat Sep 24 14:04:39 CDT 2005


# HG changeset patch
# User Eric Bloodworth <ergosys at gmail.com>
# Node ID a233263fc76014a2ce831a61216bf4e74f576da9
# Parent  0de99708f2b50a6721a0d685dabc642cc8755f64
more verbose help for add

diff -r 0de99708f2b5 -r a233263fc760 mercurial/commands.py
--- a/mercurial/commands.py	Sat Sep 24 11:29:31 2005 -0700
+++ b/mercurial/commands.py	Sat Sep 24 11:35:57 2005 -0700
@@ -478,7 +478,11 @@
 # Commands start here, listed alphabetically
 
 def add(ui, repo, *pats, **opts):
-    '''add the specified files on the next commit'''
+    '''Schedule files to be added to the repository
+
+       The files will be added to the repository at the next commit. 
+       If no names are given, add all files in the current directory and its
+       subdirectories. '''
     names = []
     for src, abs, rel, exact in walk(repo, pats, opts):
         if exact:


More information about the Mercurial mailing list