merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 04 Mar 2010 19:51:06 +0200
changeset 319 92affd306ff5
parent 318 5a839a273056 (current diff)
parent 315 dd4cb03b6b46 (diff)
child 320 bc693bf92cb5
child 324 5dfdb1a97f34
merged
windows.rst
--- a/hg.rst	Thu Feb 25 10:39:23 2010 +0200
+++ b/hg.rst	Thu Mar 04 19:51:06 2010 +0200
@@ -1,5 +1,55 @@
 -*- mode: outline; coding: utf-8 -*-
 
+* Useful customization.
+
+Put to your ~/.hgrc:
+
+  [ui]
+  ; Editor for editing commit message.
+  editor = gvim
+  ; Who commit.
+  username = Oleksandr Gavenko <gavenkoa@gmail.com>
+  ; Use internal merge algorithm, which mark conflict like <<<<<< ====== >>>>>>.
+  ; Save previous file version in '*.orig' file, after merge must be marked as
+  ; resolved by running 'hg resolve -m <file>'.
+  merge = internal:merge
+  [web]
+  ; Default encoding for file hosted by 'hg serv'.
+  encoding = utf-8
+
+** Useful extension.
+
+Put to your ~/.hgrc:
+
+  [extensions]
+  ; To allow fetch command.
+  fetch =
+  ; To allow Mercurial Queues.
+  hgext.mq =
+
+** Multiline log message for log command.
+
+By default 'hg log' show only first line of log message. To see all message run:
+
+  $ hg log -v
+
+or put into ~/.hgrc:
+
+  [defaults]
+  log = -v
+
+** Follow history ever when file copied.
+
+By default 'hg log' show only history after last file copy. To see log message
+before copying run:
+
+  $ hg log -f
+
+or put into ~/.hgrc:
+
+  [defaults]
+  log = -f
+
 * Manage patches with MQ.
 
 First enable MQ, add following to your ~/.hgrc:
--- a/windows.rst	Thu Feb 25 10:39:23 2010 +0200
+++ b/windows.rst	Thu Mar 04 19:51:06 2010 +0200
@@ -1,5 +1,20 @@
 -*- outline -*-
 
+* Determining windows version.
+
+Run winver.exe: <Win> + R winver <RET>.
+
+Or type: <Win> + <Break>.
+
+Under cmd.exe use built-in command ver.
+
+For Win 2000 and upper check registry key:
+
+  cmd> reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion
+
+To check 32/64-bit OS use PROCESSOR_ARCHITECTURE env var (it has such values:
+x86, AMD64, IA64).
+
 * XP.
 
 ** Check system files integrity.