Mercurial > evolve
comparison hgext/evolve.py @ 232:adb7e29cb2bd
docs: proof-read and review
author | Benoit Allard <benoit@aeteurope.nl> |
---|---|
date | Wed, 09 May 2012 19:02:35 +0200 |
parents | 5a17c0d41a00 |
children | 9852b3ef7234 |
comparison
equal
deleted
inserted
replaced
231:f589d054329a | 232:adb7e29cb2bd |
---|---|
248 | 248 |
249 shorttemplate = '[{rev}] {desc|firstline}\n' | 249 shorttemplate = '[{rev}] {desc|firstline}\n' |
250 | 250 |
251 @command('^gdown', | 251 @command('^gdown', |
252 [], | 252 [], |
253 '') | 253 'update to working directory parent and display summary lines') |
254 def cmdgdown(ui, repo): | 254 def cmdgdown(ui, repo): |
255 """update to working directory parent an display summary lines""" | 255 """update to working directory parent an display summary lines""" |
256 wkctx = repo[None] | 256 wkctx = repo[None] |
257 wparents = wkctx.parents() | 257 wparents = wkctx.parents() |
258 if len(wparents) != 1: | 258 if len(wparents) != 1: |
271 ui.warn(_('multiple parents, explicitly update to one\n')) | 271 ui.warn(_('multiple parents, explicitly update to one\n')) |
272 return 1 | 272 return 1 |
273 | 273 |
274 @command('^gup', | 274 @command('^gup', |
275 [], | 275 [], |
276 '') | 276 'update to working directory children and display summary lines') |
277 def cmdup(ui, repo): | 277 def cmdup(ui, repo): |
278 """update to working directory children an display summary lines""" | 278 """update to working directory children an display summary lines""" |
279 wkctx = repo[None] | 279 wkctx = repo[None] |
280 wparents = wkctx.parents() | 280 wparents = wkctx.parents() |
281 if len(wparents) != 1: | 281 if len(wparents) != 1: |