Mercurial > hg
comparison hgext/gpg.py @ 11303:a1aad8333864
move working dir/dirstate methods from localrepo to workingctx
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Mon, 07 Jun 2010 20:03:32 +0200 |
parents | 687c7d395f20 |
children | 40c06bbf58be |
comparison
equal
deleted
inserted
replaced
11302:e1dde7363601 | 11303:a1aad8333864 |
---|---|
245 "or use --force)")) | 245 "or use --force)")) |
246 | 246 |
247 repo.wfile(".hgsigs", "ab").write(sigmessage) | 247 repo.wfile(".hgsigs", "ab").write(sigmessage) |
248 | 248 |
249 if '.hgsigs' not in repo.dirstate: | 249 if '.hgsigs' not in repo.dirstate: |
250 repo.add([".hgsigs"]) | 250 repo[None].add([".hgsigs"]) |
251 | 251 |
252 if opts["no_commit"]: | 252 if opts["no_commit"]: |
253 return | 253 return |
254 | 254 |
255 message = opts['message'] | 255 message = opts['message'] |