Mercurial > public > mercurial-scm > hg
comparison mercurial/cmdutil.py @ 14320:3438417a6657
scmutil: fold in wdutil
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 13 May 2011 14:07:16 -0500 |
parents | b33f3e35efb0 |
children | 003d63bb4fa5 |
comparison
equal
deleted
inserted
replaced
14319:b33f3e35efb0 | 14320:3438417a6657 |
---|---|
6 # GNU General Public License version 2 or any later version. | 6 # GNU General Public License version 2 or any later version. |
7 | 7 |
8 from node import hex, nullid, nullrev, short | 8 from node import hex, nullid, nullrev, short |
9 from i18n import _ | 9 from i18n import _ |
10 import os, sys, errno, re, tempfile | 10 import os, sys, errno, re, tempfile |
11 import util, scmutil, templater, patch, error, templatekw, wdutil | 11 import util, scmutil, templater, patch, error, templatekw |
12 import match as matchmod | 12 import match as matchmod |
13 import subrepo | 13 import subrepo |
14 | 14 |
15 expandpats = wdutil.expandpats | 15 expandpats = scmutil.expandpats |
16 match = wdutil.match | 16 match = scmutil.match |
17 matchall = wdutil.matchall | 17 matchall = scmutil.matchall |
18 matchfiles = wdutil.matchfiles | 18 matchfiles = scmutil.matchfiles |
19 addremove = wdutil.addremove | 19 addremove = scmutil.addremove |
20 dirstatecopy = wdutil.dirstatecopy | 20 dirstatecopy = scmutil.dirstatecopy |
21 | 21 |
22 def parsealiases(cmd): | 22 def parsealiases(cmd): |
23 return cmd.lstrip("^").split("|") | 23 return cmd.lstrip("^").split("|") |
24 | 24 |
25 def findpossible(cmd, table, strict=False): | 25 def findpossible(cmd, table, strict=False): |