Mercurial > hg > mercurial-crew-with-dirclash
comparison hgext/gpg.py @ 2874:3d6efcbbd1c9
remove localrepository.changes.
use localrepository.status instead.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sat, 12 Aug 2006 16:40:12 -0700 |
parents | 9a2f4b2e7cf1 |
children | 6b4127c7d52a b1806b211910 |
comparison
equal
deleted
inserted
replaced
2873:4ec58b157265 | 2874:3d6efcbbd1c9 |
---|---|
219 # write it | 219 # write it |
220 if opts['local']: | 220 if opts['local']: |
221 repo.opener("localsigs", "ab").write(sigmessage) | 221 repo.opener("localsigs", "ab").write(sigmessage) |
222 return | 222 return |
223 | 223 |
224 for x in repo.changes(): | 224 for x in repo.status()[:5]: |
225 if ".hgsigs" in x and not opts["force"]: | 225 if ".hgsigs" in x and not opts["force"]: |
226 raise util.Abort(_("working copy of .hgsigs is changed " | 226 raise util.Abort(_("working copy of .hgsigs is changed " |
227 "(please commit .hgsigs manually " | 227 "(please commit .hgsigs manually " |
228 "or use --force)")) | 228 "or use --force)")) |
229 | 229 |