~ubuntu-branches/ubuntu/precise/mercurial/precise-updates

« back to all changes in this revision

Viewing changes to debian/patches/hgit_for_debian.patch

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Danjean
  • Date: 2005-09-23 11:45:13 UTC
  • Revision ID: james.westby@ubuntu.com-20050923114513-819v977ptuvi8c0e
Tags: 0.7-4
* backport from upstream of
  - use of 'hgext' directory for extensions
  - 'hgk.py' extension (was hgit before)
  => 'hg view' works ;-)
* add 'Recommands: wish' for the hgk extension

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: mercurial-0.7/contrib/hgit
 
2
===================================================================
 
3
--- mercurial-0.7.orig/contrib/hgit     2005-09-23 10:58:36.000000000 +0200
 
4
+++ mercurial-0.7/contrib/hgit  2005-09-23 11:00:18.000000000 +0200
 
5
@@ -1,5 +1,3 @@
 
6
-#!/usr/bin/env python
 
7
-#
 
8
 # Minimal support for git commands on an hg repository
 
9
 #
 
10
 # Copyright 2005 Chris Mason <mason@suse.com>
 
11
@@ -316,7 +314,7 @@
 
12
 def view(ui, repo, *etc):
 
13
     "start interactive history viewer"
 
14
     os.chdir(repo.root)
 
15
-    os.system("hgk " + " ".join(etc))
 
16
+    os.system("/usr/share/mercurial/hgk " + " ".join(etc))
 
17
 
 
18
 cmdtable = {
 
19
     "view": (view, [], 'hg view'),