mercurial/commands.py
changeset 4256 fe0fe0b4d73b
parent 4250 ca639faa38a2
parent 4252 e14b6980a014
child 4258 47ba52121433
child 4266 1b5c38e9d7aa
equal deleted inserted replaced
4251:e76e52145c3d 4256:fe0fe0b4d73b
   428         status = repo.status(files=fns, match=match)
   428         status = repo.status(files=fns, match=match)
   429         modified, added, removed, deleted, unknown = status[:5]
   429         modified, added, removed, deleted, unknown = status[:5]
   430         files = modified + added + removed
   430         files = modified + added + removed
   431         slist = None
   431         slist = None
   432         for f in fns:
   432         for f in fns:
       
   433             if f == '.':
       
   434                 continue
   433             if f not in files:
   435             if f not in files:
   434                 rf = repo.wjoin(f)
   436                 rf = repo.wjoin(f)
   435                 if f in unknown:
   437                 if f in unknown:
   436                     raise util.Abort(_("file %s not tracked!") % rf)
   438                     raise util.Abort(_("file %s not tracked!") % rf)
   437                 try:
   439                 try: