Home | History | Annotate | Download | only in codereview

Lines Matching full:pats

762 		pats = ['path:'+f for f in clx.files]
763 changed = hg_matchPattern(ui, repo, *pats, modified=True, added=True, removed=True)
764 deleted = hg_matchPattern(ui, repo, *pats, deleted=True)
765 unknown = hg_matchPattern(ui, repo, *pats, unknown=True)
766 ignored = hg_matchPattern(ui, repo, *pats, ignored=True)
767 clean = hg_matchPattern(ui, repo, *pats, clean=True)
810 def CommandLineCL(ui, repo, pats, opts, defaultcc=None):
811 if len(pats) > 0 and GoodCLName(pats[0]):
812 if len(pats) != 1:
816 cl, err = LoadCL(ui, repo, pats[0], web=True)
822 cl.files = ChangedFiles(ui, repo, pats, taken=Taken(ui, repo))
843 # Return list of changed files in repository that match pats.
846 def ChangedFiles(ui, repo, pats, taken=None):
850 for p in pats:
863 l = hg_matchPattern(ui, repo, *pats, modified=True, added=True, removed=True)
869 # Return list of changed files in repository that match pats and still exist.
870 def ChangedExistingFiles(ui, repo, pats, opts):
871 l = hg_matchPattern(ui, repo, *pats, modified=True, added=True)
885 def DefaultFiles(ui, repo, pats):
886 return ChangedFiles(ui, repo, pats, taken=Taken(ui, repo))
1087 def hg_matchPattern(ui, repo, *pats, **opts):
1089 hg_commands.status(ui, repo, *pats, **opts)
1096 if len(pats) > 0:
1184 def hg_commit(ui, repo, *pats, **opts):
1185 return hg_commands.commit(ui, repo, *pats, **opts)
1219 def MatchAt(ctx, pats=None, opts=None, globbed=False, default='relpath'):
1222 pats = pats or []
1225 for p in pats:
1240 pats = Sub(pats, taken) + ['path:'+f for f in files]
1245 return match_orig(ctx, pats=pats, opts=opts, globbed=globbed, default=default)
1259 def wrapped(ui, repo, *pats, **opts):
1260 err = f(ui, repo, *pats, **opts)
1273 def change(ui, repo, *pats, **opts):
1299 if len(pats) > 0 and GoodCLName(pats[0]):
1300 name = pats[0]
1301 if len(pats) != 1:
1303 pats = pats[1:]
1315 files = ChangedFiles(ui, repo, pats, taken=Taken(ui, repo))
1703 def file(ui, repo, clname, pat, *pats, **opts):
1714 pats = tuple([pat] + list(pats))
1725 files = ChangedFiles(ui, repo, pats)
1769 def gofmt(ui, repo, *pats, **opts):
1778 files = ChangedExistingFiles(ui, repo, pats, opts)
1803 def mail(ui, repo, *pats, **opts):
1812 cl, err = CommandLineCL(ui, repo, pats, opts, defaultcc=defaultcc)
1836 def ps(ui, repo, *pats, **opts):
1840 return pending(ui, repo, *pats, **opts)
1843 def pq(ui, repo, *pats, **opts):
1847 return pending(ui, repo, *pats, **opts)
1850 def pending(ui, repo, *pats, **opts):
1886 def submit(ui, repo, *pats, **opts):
1901 cl, err = CommandLineCL(ui, repo, pats, opts, defaultcc=defaultcc)
2215 def norollback(*pats, **opts):