mercurial/commands.py
changeset 4252 e14b6980a014
parent 4196 1c69c73d85d9
child 4256 fe0fe0b4d73b
child 4308 a5cde03cd019
equal deleted inserted replaced
4236:34c4540c04c5 4252:e14b6980a014
   424         status = repo.status(files=fns, match=match)
   424         status = repo.status(files=fns, match=match)
   425         modified, added, removed, deleted, unknown = status[:5]
   425         modified, added, removed, deleted, unknown = status[:5]
   426         files = modified + added + removed
   426         files = modified + added + removed
   427         slist = None
   427         slist = None
   428         for f in fns:
   428         for f in fns:
       
   429             if f == '.':
       
   430                 continue
   429             if f not in files:
   431             if f not in files:
   430                 rf = repo.wjoin(f)
   432                 rf = repo.wjoin(f)
   431                 if f in unknown:
   433                 if f in unknown:
   432                     raise util.Abort(_("file %s not tracked!") % rf)
   434                     raise util.Abort(_("file %s not tracked!") % rf)
   433                 try:
   435                 try: