Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 22942:03602f76deee
manifest: rename ambiguously-named set to setflag
Just makes it a little clearer what this method does.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 10 Oct 2014 14:09:37 -0400 |
parents | 5e5d297ccbd0 |
children | c136e26953aa |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun Oct 12 08:29:31 2014 -0700 +++ b/mercurial/localrepo.py Fri Oct 10 14:09:37 2014 -0400 @@ -1407,7 +1407,7 @@ added.append(f) m[f] = self._filecommit(fctx, m1, m2, linkrev, trp, changed) - m.set(f, fctx.flags()) + m.setflag(f, fctx.flags()) except OSError, inst: self.ui.warn(_("trouble committing %s!\n") % f) raise