Mercurial > evolve
annotate docs/makefile @ 3781:e73a73b27f3e stable
prev: respect `commands.update.check` config option in `hg prev` (issue5808)
`commands.update.check` config option determines what level of checking should
be done when we update to another revision. When we set this config option to
`noconflict`, it updates your working directory to a specified revision only
when there will be no conflicts which is a very nice behavior.
This patch adds logic to respect the config option so that we can have that nice
behavior with `hg prev` too.
It turns out, we just needed to use hg.updatetotally() and add some cases to
check config option.
Right now, we only respect the config if value is set to `noconflict`. Otherwise
we fallback to the default behavior.
This is a part of fixing issue5808. Test changes demonstrate the fix.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 03 Jun 2018 02:36:24 +0530 |
parents | 1a4f26eec0af |
children | 150be007f421 |
rev | line source |
---|---|
233 | 1 |
2824
d0e3a8e0b62c
docs: move the topic tutorial in the documentation
Boris Feld <boris.feld@octobus.net>
parents:
765
diff
changeset
|
2 all: tutorials/tutorial.rst tutorials/topic-tutorial.rst static/logo-evolve.ico |
242
1fc4299ca8e2
[doc] change doc generation directory
Pierre-Yves.David@ens-lyon.org
parents:
235
diff
changeset
|
3 sphinx-build . ../html/ |
233 | 4 |
2960
1a4f26eec0af
test2rst: ignore the #if/#endif line in the output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2824
diff
changeset
|
5 tutorials/tutorial.rst: tutorials/tutorial.t test2rst.py |
235
8469ccb9550f
[doc] add `.t` to `.rst` converteur
Pierre-Yves.David@ens-lyon.org
parents:
233
diff
changeset
|
6 python test2rst.py tutorials/ |
557
41688ca951e7
doc: add a logo
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
242
diff
changeset
|
7 |
2960
1a4f26eec0af
test2rst: ignore the #if/#endif line in the output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2824
diff
changeset
|
8 tutorials/topic-tutorial.rst: tutorials/topic-tutorial.t test2rst.py |
2824
d0e3a8e0b62c
docs: move the topic tutorial in the documentation
Boris Feld <boris.feld@octobus.net>
parents:
765
diff
changeset
|
9 python test2rst.py tutorials/ |
d0e3a8e0b62c
docs: move the topic tutorial in the documentation
Boris Feld <boris.feld@octobus.net>
parents:
765
diff
changeset
|
10 |
558
11c5f734d64e
docs: fix makefile
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
557
diff
changeset
|
11 static/logo-evolve.ico: static/logo-evolve.svg |
557
41688ca951e7
doc: add a logo
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
242
diff
changeset
|
12 convert -resize 36x36 static/logo-evolve.svg static/logo-evolve.ico |
41688ca951e7
doc: add a logo
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
242
diff
changeset
|
13 |
41688ca951e7
doc: add a logo
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
242
diff
changeset
|
14 |