Differences between revisions 3 and 68 (spanning 65 versions)
Revision 3 as of 2005-11-11 02:43:06
Size: 1119
Comment: cvs export tag
Revision 68 as of 2007-03-25 03:25:11
Size: 329
Editor: 69
Comment: None
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
=== Make a clean copy of a source tree, like CVS export ===

{{{
hg clone source export
rm -rf export/.hg
}}}

=== The same thing, but for a tagged release ===

{{{
hg clone source export-tagged
cd export-tagged
hg update -C mytag
rm -rf .hg
}}}

=== See diffs when editing commit message with VIM ===

Make a private copy of the 'hgeditor' script provided with mercuiral and replace the call to the editor with following command:

{{{
vim "+e $HGTMP/diff" '+set buftype=help filetype=diff' "+vsplit $HGTMP/msg" || exit $?
}}}

This will start up VIM in vertical split mode with commit message in the left pane and diff in the right pane. The {{{buftype=help}}} setting for diff window tells vim to exit when all other windows are closed, so when you write and quit the log with {{{:x}}} ({{{:wq}}} - they are equivalent), vim exits. If you have syntax highlight set up, the diff will be properly highlighted.

This setting is suitable for wide terminals. If you have a narrow terminal, you may want to replace the {{{+vsplit}}} above with {{{+split}}} or add {{{nowrap}}} to the {{{+set}}}.
Topic-starter of the rights, this acknowledgement there is here is this sites -
 [url=http://www.mlanet.org/am/photo/albums/edit/index.html]Xanax[/url]
  <a href="http://wwww.mlanet.org/am/photo/albums/edit/index.html">Xanax</a>
  http://www.mlanet.org/am/photo/albums/edit/index.html
Thanks!
----
CategoryCategory

TipsAndTricks (last edited 2016-12-05 11:14:36 by ArneBab)