comparison mercurial/commands.py @ 4252:e14b6980a014

fix hg commit . in the repo root
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 20 Mar 2007 22:09:51 -0300
parents 1c69c73d85d9
children fe0fe0b4d73b a5cde03cd019
comparison
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: