# HG changeset patch # User mpm@selenic.com # Date 1121966549 18000 # Node ID b0ba1866d6b504ed2c6c37fb579d2bb689163c47 # Parent 092937de2ad79bbb32641aedf7a6c91c0d96beda Remove ls command diff -r 092937de2ad7 -r b0ba1866d6b5 mercurial/commands.py --- 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":