I have a βtestβ branch, and I have the wrong 15 commits in it (they are the last commits in this branch). I do not need these commits, and I want to support them. But I also need to have a "test" branch, I canβt just close it.
How to compensate for many commits? It is too difficult to do this with mercantile standard redundancy, there will be too many commits and merges. Is there a way to combine all of the backup commits in one big commit?
Is there a way to rename a branch and close it?
All changes exist on the remote server. These changes are not the last changes in the full repo, they are the latest changesets only in the test branch.
( , , strip -ed ), :
strip
1) --close-branch , update , , . , .
--close-branch
update
2) hg revert -r <last good rev> . , <last good rev>, , , 15 , . hg diff -r <last good rev>, , , , .
hg revert -r <last good rev>
<last good rev>
hg diff -r <last good rev>
strip ( @Dalija answer), , hg phase, secret strip - . , , .
hg phase
secret
hg strip . , test, , pull.
hg strip
test
pull
https://www.mercurial-scm.org/wiki/StripExtension
Source: https://habr.com/ru/post/1568607/More articles:SwipeRefreshLayout from lib support. v21 does not work with static content - androidΠΠ΅Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΏΡΠΎΠΊΡΡΡΠΈΡΡ ΠΏΠΎ Π²Π΅ΡΡΠΈΠΊΠ°Π»ΠΈ UIScrollView/UITableView ChildViewController, Π΅ΡΠ»ΠΈ ΠΏΡΠΎΠΊΡΡΡΠΊΠ° UIScrollView ΡΠΎΠ΄ΠΈΡΠ΅Π»ΡΡΠΊΠΎΠ³ΠΎ ΠΊΠ»Π°ΡΡΠ° ΠΎΡΠΊΠ»ΡΡΠ΅Π½Π° ΠΏΡΠΈΠ½ΡΠ΄ΠΈΡΠ΅Π»ΡΠ½ΠΎ - iosWriting an iterator - iteratorOTG path in Android device - androidGet list of questionnaires with missing answer - sqlΠΠ½ΠΎΠΏΠΊΠΈ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠΈ, ΠΏΠΎΡΠ΅ΡΡΠ½Π½ΡΠ΅ Π² ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΈ ΡΠ°ΡΠΊΠ°Π΄ΡΠΎΠ²ΠΊΠΈ - ioshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1568609/what-is-the-difference-in-these-ways-to-read-in-user-input&usg=ALkJrhgrnAYxYKtl3j9hOtDlqnBhdf24zgSpring logs are not suitable for a specific machine - javaΠΡΠΎΡΠΎΠΊΠΎΠ» BitTorrent Ρ Java - Bitfield ΠΏΠΎΡΠ»Π΅ ΡΡΠΏΠ΅ΡΠ½ΠΎΠ³ΠΎ ΡΡΠΊΠΎΠΏΠΎΠΆΠ°ΡΠΈΡ - javaCan sessions conflict when encapsulating in a static property of a static class? - c #All Articles