changeset 145:fa0ed1574400

Moved the current tricks to tricks_advanced and added a basic trick
author Arne Babenhauserheide <bab@draketo.de>
date Tue, 12 May 2009 07:19:20 +0200
parents 4a8b12498bdf
children 730b34064342
files hgscm/templates/tricks/01 hgscm/templates/tricks/02 hgscm/templates/tricks_advanced/01 hgscm/templates/tricks_advanced/02
diffstat 4 files changed, 17 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/hgscm/templates/tricks/01	Tue May 12 06:30:18 2009 +0200
+++ b/hgscm/templates/tricks/01	Tue May 12 07:19:20 2009 +0200
@@ -1,7 +1,4 @@
-<strong>Reedit last commit message</strong>
+<strong>shorthand for commit</strong>
 <pre>
-$ hg qimport -r tip
-$ hg qrefresh -e
-.. edit ..
-$ hg qfinish -a
+$ hg ci -m "message"
 </pre>
--- a/hgscm/templates/tricks/02	Tue May 12 06:30:18 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<strong>Fold commits</strong>
-<pre>
-$ hg qimport -r tip -n 'tofold.patch'
-$ hg qpop
-$ hg qimport -r tip
-$ hg qfold 'tofold.patch'
-$ hg qfinish -a
-</pre>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hgscm/templates/tricks_advanced/01	Tue May 12 07:19:20 2009 +0200
@@ -0,0 +1,7 @@
+<strong>Reedit last commit message</strong>
+<pre>
+$ hg qimport -r tip
+$ hg qrefresh -e
+.. edit ..
+$ hg qfinish -a
+</pre>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hgscm/templates/tricks_advanced/02	Tue May 12 07:19:20 2009 +0200
@@ -0,0 +1,8 @@
+<strong>Fold commits</strong>
+<pre>
+$ hg qimport -r tip -n 'tofold.patch'
+$ hg qpop
+$ hg qimport -r tip
+$ hg qfold 'tofold.patch'
+$ hg qfinish -a
+</pre>