equal
deleted
inserted
replaced
280 modified, added, removed, deleted = repo.status()[:4] |
280 modified, added, removed, deleted = repo.status()[:4] |
281 if modified or added or removed or deleted: |
281 if modified or added or removed or deleted: |
282 raise util.Abort(_('uncommitted changes')) |
282 raise util.Abort(_('uncommitted changes')) |
283 ctx = repo[None] |
283 ctx = repo[None] |
284 for s in sorted(ctx.substate): |
284 for s in sorted(ctx.substate): |
285 if ctx.sub(s).dirty(): |
285 ctx.sub(s).bailifchanged() |
286 raise util.Abort(_("uncommitted changes in subrepo %s") % s) |
|
287 |
286 |
288 def logmessage(ui, opts): |
287 def logmessage(ui, opts): |
289 """ get the log message according to -m and -l option """ |
288 """ get the log message according to -m and -l option """ |
290 message = opts.get('message') |
289 message = opts.get('message') |
291 logfile = opts.get('logfile') |
290 logfile = opts.get('logfile') |