comparison hgext/evolve.py @ 1403:9a8ecfdfa866

evolve: refresh the documentation Multiple behavior change are coming, a perfect timing to refresh the doc before we rework it more.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 19 Jun 2015 13:57:16 -0700
parents 08ae023882f1
children 848a04c078c7
comparison
equal deleted inserted replaced
1402:08ae023882f1 1403:9a8ecfdfa866
1339 '(implies any)'), 1339 '(implies any)'),
1340 ('c', 'continue', False, 'continue an interrupted evolution'), 1340 ('c', 'continue', False, 'continue an interrupted evolution'),
1341 ] + mergetoolopts, 1341 ] + mergetoolopts,
1342 _('[OPTIONS]...')) 1342 _('[OPTIONS]...'))
1343 def evolve(ui, repo, **opts): 1343 def evolve(ui, repo, **opts):
1344 """solve trouble in your repository 1344 """solve troubles in your repository
1345 1345
1346 - rebase unstable changesets to make them stable again, 1346 - rebase unstable changesets to make them stable again,
1347 - create proper diffs from bumped changesets, 1347 - create proper diffs from bumped changesets,
1348 - merge divergent changesets, 1348 - fuse divergent changesets back together,
1349 - update to a successor if the working directory parent is 1349 - update to a successor if the working directory parent is
1350 obsolete 1350 obsolete
1351 1351
1352 By default a single changeset is evolved for each invocation and only 1352 If no argument are passed and the current working copy parent is obsolete,
1353 troubled changesets that would evolve as a descendant of the current 1353 :hg:`evolve` will update the working copy to the successors of this working
1354 working directory will be considered. See --all and --any options to change 1354 copy parent. If the working copy parent is not obsolete (and still no
1355 this behavior. 1355 argument passed) each invocation of :hg:`evolve` will evolve a single
1356 unstable changeset, It will only select a changeset to be evolved if it
1357 will result in a new children for the current working copy parent. The
1358 working copy will be updated on the result (this last behavior will most
1359 likely to change in the future).
1360
1361 See --all and --any options to change this behavior.
1356 1362
1357 - For unstable, this means taking the first which could be rebased as a 1363 - For unstable, this means taking the first which could be rebased as a
1358 child of the working directory parent revision or one of its descendants 1364 child of the working directory parent revision or one of its descendants
1359 and rebasing it. 1365 and rebasing it.
1360 1366