Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.3rc1, 0.3, and 0.4rc1

contrib: add hg script and build hg.exe with py2exe

Changeset 69675240256b

Parent 6ea918de4837

by TK Soh

Changes to 2 files · Browse files at 69675240256b Showing diff from parent 6ea918de4837 Diff from another changeset...

Change 1 of 1 Show Entire File contrib/​hg Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@@ -0,0 +1,14 @@
+#!/usr/bin/env python +# +# mercurial - scalable distributed SCM +# +# Copyright 2005-2007 Matt Mackall <mpm@selenic.com> +# +# This software may be used and distributed according to the terms +# of the GNU General Public License, incorporated herein by reference. + +# enable importing on demand to reduce startup time +from mercurial import demandimport; demandimport.enable() + +import mercurial.dispatch +mercurial.dispatch.run()
Change 1 of 1 Show Entire File setup.py Stacked
 
49
50
51
52
 
53
54
55
 
49
50
51
 
52
53
54
55
@@ -49,7 +49,7 @@
  extra['windows'] = [{"script":"hggtk/tracelog.py",   "icon_resources": [(1, "icons/tortoise/python.ico")]}]   extra['com_server'] = ["tortoisehg"] - extra['console'] = ["hg", "hgproc.py", "hgutils/simplemerge"] + extra['console'] = ["contrib/hg", "hgproc.py", "hgutils/simplemerge"]    elif 'bdist_msi' in sys.argv or 'bdist_wininst' in sys.argv:   # C:\Python25\share\tortoisehg\icons\...