doc-el commit 968:988f3ac626dc - Remove hardcoded absolute path ...

freebsd-doc-el at lists.hellug.gr freebsd-doc-el at lists.hellug.gr
Tue Oct 28 05:03:20 EET 2008


changeset:      968:988f3ac626dc
user:           keramida
date:           2008-10-28 05:03 +0200
details:        http://hg.hellug.gr/freebsd/doc-el/?cmd=changeset;node=988f3ac626dc

description:
	Remove hardcoded absolute path from hgadmin/conf/notify.conf

	Mercurial hooks run with their current directory set to the toplevel
	directory of the repository.  This way it is much easier to refer
	either to workspace files or to paths inside the .hg area.  Trim the
	current absolute path of 'notify.config' from the repo configuration,
	so that mirrors have one less modification to make to the hgadmin
	files before they are usable.

diffs (11 lines):

diff -r b1555357c914 -r 988f3ac626dc hgadmin/conf/hgrc
--- a/hgadmin/conf/hgrc	Tue Oct 28 04:57:47 2008 +0200
+++ b/hgadmin/conf/hgrc	Tue Oct 28 05:03:00 2008 +0200
@@ -34,6 +34,6 @@
 test = False
 diffstat = False
 strip = 6
-config = /home/keramida/hg/doc/el/.hg/notify.config
+config = .hg/notify.conf
 maxdiff = 300
 template = Subject: doc-el commit {rev}:{node|short} - {desc|firstline|strip}\nFrom: freebsd-doc-el at lists.hellug.gr\n\nchangeset:      {rev}:{node|short}\nuser:           {author}\ndate:           {date|isodate}\ndetails:        {baseurl}?cmd=changeset;node={node|short}\n\ndescription:\n\t{desc|tabindent|strip}\n




More information about the Freebsd-doc-el mailing list