[PATCH] Display a oneline description while initialising a repo with hg init

Azhagu Selvan SP tamizhgeek at gmail.com
Fri Oct 8 04:58:46 CDT 2010


# HG changeset patch
# User Azhagu Selvan SP <tamizhgeek at gmail.com>
# Date 1286531511 -19800
# Node ID 42ecd7f2277a805cd8c1429ceaaf12071b8a1fd8
# Parent  64db820c66a29ee3b57e452d77be00ed5be675ef
Display a oneline description while initialising a repo with hg init

diff -r 64db820c66a2 -r 42ecd7f2277a mercurial/commands.py
--- a/mercurial/commands.py	Tue Oct 05 20:25:51 2010 +0200
+++ b/mercurial/commands.py	Fri Oct 08 15:21:51 2010 +0530
@@ -2379,6 +2379,7 @@
     Returns 0 on success.
     """
     hg.repository(hg.remoteui(ui, opts), ui.expandpath(dest), create=1)
+    ui.write("Initialising a hg repository in "+dest+"\n")
 
 def locate(ui, repo, *pats, **opts):
     """locate files matching specific patterns


More information about the Mercurial-devel mailing list