equal
deleted
inserted
replaced
161 return |
161 return |
162 |
162 |
163 for x in repo.changes(): |
163 for x in repo.changes(): |
164 if ".hgsigs" in x and not opts["force"]: |
164 if ".hgsigs" in x and not opts["force"]: |
165 raise util.Abort("working copy of .hgsigs is changed " |
165 raise util.Abort("working copy of .hgsigs is changed " |
166 "(please commit .hgsigs manually" |
166 "(please commit .hgsigs manually " |
167 "or use --force)") |
167 "or use --force)") |
168 |
168 |
169 repo.wfile(".hgsigs", "ab").write(sigmessage) |
169 repo.wfile(".hgsigs", "ab").write(sigmessage) |
170 |
170 |
171 if repo.dirstate.state(".hgsigs") == '?': |
171 if repo.dirstate.state(".hgsigs") == '?': |