![]() ![]() Viewing revisions for a file hg log src/org/compiere/model/MShippingInstr. NB: Always use filesystem snapshots using tar (before doing any critical work) so that you can backout gracefully from bad pulls and bad commits. To pull (don't forget to update!) hg pull ![]() hg add - adds new previously unversioned files to next commit. Hg clone -r "V1.0.4a_20140217" destination After installation TortoiseHg commands should be available directly from context menu in. Hg commit -m "A small change - for testing the tagging system"Ĭlone the specified tag (exact copy) hg clone -r "V1.00" TestProject TestProject1 Hg log (-v & -debug) -r : specific revision Resolving Conflicts hg resolve -m file.txtĭefault paths Edit hgrc file (under = hg add / hg addremove (add specific, or add/remove all) Use extdiff to diff 2 revisions hg extdiff -r tip -r 1000 src/org/compiere/model/MShippingInstr.javaĮnable extdiff extension and set Meld as the default diff tool. Mercurial can generate patch files in the unified diff format with the hg diff command. $ hg purge to delete all untracked files. To enable it, modify your config file (.hgrc on Unix, Mercurial.ini on Windows) to add This extension is shipped by default with mercurial but turned off. Purge (remove untracked files) Is there a way to delete all untracked files in a mercurial working area? Yes, with the purge extension. Default commit dialog just list select paths and their child directory files. If you want to include an unversioned file, just check that file to add it to the commit. If you dont want a changed file to be committed, just uncheck that file. The new system uses tool descriptions in mergetools.rc to detect most common diff tools on your computer (including KDiff3, which ships in our installer) and select the best available tool. The commit dialog will show you every changed file, including added, deleted and unversioned files. Get files as at specific revision mkdir /tmp/test hg cat -r 10469 -feature/buckminster_linux_gtk_x86_64.properties -feature/ -o /tmp/test/%s In TortoiseHg 1.0, the visual (external) diff infrastructure was refactored. Hg cat -r tip src/org/compiere/ReportCustom/ZZ_Quotation.jrxml -o /tmp/%s Save to alternate location hg cat -r 71 src/org/compiere/model/I_AD_Client.java -o /tmp/%s Replace file in same location as original hg cat -r 71 src/org/compiere/model/I_AD_Client.java -o %p 12.3 Clone the specified tag (exact copy).9 Enable extdiff extension and set Meld as the default diff tool.2 Replace file in same location as original. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |