How do you commit in Tortoisehg?
Ngày đăng:
17/11/2022
Trả lời:
0
Lượt xem:
172
To squash commits in Mercurial you will need the To squash commits, use the following
instructions.
# Put commits into draft status if needed hg phase --draft --force -r 9039 # Check the changlog to ensure the commits are in draft @ 9041:c680f30edc60 [default] - draft | 7 weeks ago by Johannes Bornhold | B:,T:tip | nix: Add version of transifex-client into default.nix | o 9040:66f03981cfcd [default] - draft | 7 weeks ago by lisaq | B:,T: | fixes #1592 removing legacy css files | o 9039:388db711042f [default] - draft | 7 weeks ago by Brian | B:,T: | docs: fixed *doCheck = false* with propogatedbuildinputs fragment | o 9038:ef41dce16c12 [default] - public | 8 weeks ago by Brian | B:,T: | Docs: updating dependencies for Sphinx 131, but staying at 122 for now
# Run the history edit specifying the base revision hg histedit 9039 pick 388db711042f 9039 docs: fixed *doCheck = false* with propogatedbuildinputs fold 66f03981cfcd 9040 fixes #1592 removing legacy css files fold c680f30edc60 9041 nix: Add version of transifex-client into default.nix # Edit history between 388db711042f and c680f30edc60 # # Commits are listed from least to most recent # # Commands: # p, pick = use commit # e, edit = use commit, but stop for amending # f, fold = use commit, but combine it with the one above # d, drop = remove commit from history # m, mess = edit message without changing commit content
# add a new commit message or keep the original one docs: added translations and packaging. Squashed commit. # adding HG: in front of a line will remove it once saved HG:docs: added translations and packaging. Squashed commit. HG:nix: Add version of transifex-client into default.nix HG:docs: fixed *doCheck = false* with propogatedbuildinputs fragment
3 files updated, 0 files merged, 0 files removed, 0 files unresolved saved backup bundle to /tutorials-fork/.hg/strip-backup/38b711042f-backup.hg saved backup bundle to /tutorials-fork/.hg/strip-backup/f19da9449f-backup.hg
@ 9039:44e6fc3bf6b5 [default] - draft | 7 weeks ago by Brian | B:,T:tip | docs: added translations and packaging. Squashed commit. | o 9038:ef41dce16c12 [default] - draft | 8 weeks ago by Brian | B:,T: | Docs: updating dependencies for Sphinx 131, but staying at 122 | o 9037:411a82632f54 [default] - draft |\ 7 weeks ago by Johannes Bornhold | B:,T: | | release: Merge back stable into default after release 3.2.1
What is commit in Mercurial?run the command hg commit This commits all changes to the project. With hg add we included the files, now we secure the file contents.
What is TortoiseHg used for?TortoiseHg is a set of graphical tools and a shell extension for the Mercurial distributed revision control system. On Windows, TortoiseHg consists of a shell extension, which provides overlay icons and context menus in your file explorer, and a command line program named thg.exe which can launch the TortoiseHg tools.
What is TortoiseHg workbench?Workbench. TortoiseHg is a Windows shell extension and a series of applications for the Mercurial distributed revision control system. It also includes a Gnome/Nautilus extension and a CLI wrapper application so the TortoiseHg tools can be used on non-Windows platforms.
|