changeset 743:b0ba1866d6b5

Remove ls command
author mpm@selenic.com
date Thu, 21 Jul 2005 12:22:29 -0500
parents 092937de2ad7
children 3d88f6dd1ed4
files mercurial/commands.py
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Jul 21 12:21:33 2005 -0500
+++ b/mercurial/commands.py	Thu Jul 21 12:22:29 2005 -0500
@@ -729,11 +729,6 @@
             dodiff(sys.stdout, ui, repo, files, prev, changenode)
             ui.write("\n\n")
 
-def ls(ui, repo, *pats, **opts):
-    """list files"""
-    for src, abs, rel in walk(repo, pats, opts):
-        ui.write(rel, '\n')
-
 def manifest(ui, repo, rev=None):
     """output the latest or given revision of the project manifest"""
     if rev:
@@ -1144,10 +1139,6 @@
          [('r', 'rev', [], 'revision'),
           ('p', 'patch', None, 'show patch')],
          'hg log [-r REV1 [-r REV2]] [-p] [FILE]'),
-    "list|ls": (ls,
-                [('I', 'include', [], 'include path in search'),
-                 ('X', 'exclude', [], 'exclude path from search')],
-                "hg ls [OPTION]... [PATTERN]...."),
     "manifest": (manifest, [], 'hg manifest [REV]'),
     "parents": (parents, [], 'hg parents [REV]'),
     "^pull":