public
Last active

Mercurial Scripts

  • Download Gist
HG_WebServerSettings
1 2 3 4 5 6 7
#this goes in .hgrc
[web]
name = Repository Name
description = Description
contact = My Name <my@email>
push_ssl = True
allow_push = rob
Notify extension
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
[extensions]
hgext.notify =
 
[email]
from = YOUR@EMAIL
 
[smtp]
host = SMTP_HOST
 
[web]
baseurl = HTTP://YOURWEBSERVER
 
[hooks]
# send one email per group of changes
changegroup.notify = python:hgext.notify.hook
 
[notify]
# multiple sources can be specified as a whitespace separated list
sources = serve push pull bundle
# set this to False when you're ready for mail to start sending
test = False
 
#you can set the below in a separate path so people can sub themselves, or just put it below
# config = /path/to/subscription/file
 
# here's an example that makes the changeset template look more like hg log:
template = Subject: {webroot|basename}: {desc|strip|firstline}\n\ndetails: {baseurl}{webroot|basename}/rev/{node|short}\nchangeset: {rev}:{node|short}\nuser: {author}\ndate: {date|date}\ndescription:\n{desc}\n
 
[usersubs]
# key is subscriber email, value is comma-separated list of glob patterns
user@email.com = *
 
[reposubs]
# key is glob pattern, value is comma-separated list of subscriber emails
*= user@email.com
Registry.txt
1 2 3
This is the registry root that needs to point to Console2.exe so it shows up in your shell
 
HKEY_CLASSES_ROOT\Directory\shell\open_console
hgignore.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
# Ignore file for Visual Studio 2008
 
# use glob syntax
syntax: glob
 
# Ignore Visual Studio 2008 files
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
*.lib
*.sbr
*.scc
[Bb]in
[Db]ebug*/
obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
[Bb]uild[Ll]og.*
*.[Pp]ublish.xml

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.