changeset 47:6f37e6a7d8cd

Get Emacs to figure out what syntax highlighting to use for examples.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 23 Jul 2006 23:38:41 -0700
parents dd657c4d3a47
children e8ab09bf5d7d fa8bafe467cb
files en/examples/daily.files en/examples/hook.simple en/examples/hook.ws en/examples/mq.qinit-help en/examples/mq.tarball en/examples/mq.tools en/examples/mq.tutorial
diffstat 7 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/en/examples/daily.files	Sun Jul 23 23:38:18 2006 -0700
+++ b/en/examples/daily.files	Sun Jul 23 23:38:41 2006 -0700
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 #$ name: add
 
 hg init a
--- a/en/examples/hook.simple	Sun Jul 23 23:38:18 2006 -0700
+++ b/en/examples/hook.simple	Sun Jul 23 23:38:41 2006 -0700
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 #$ name: init
 
 hg init hook-test
--- a/en/examples/hook.ws	Sun Jul 23 23:38:18 2006 -0700
+++ b/en/examples/hook.ws	Sun Jul 23 23:38:41 2006 -0700
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 cp $EXAMPLE_DIR/data/check_whitespace.py .
 
 hg init a
--- a/en/examples/mq.qinit-help	Sun Jul 23 23:38:18 2006 -0700
+++ b/en/examples/mq.qinit-help	Sun Jul 23 23:38:41 2006 -0700
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 echo '[extensions]' >> $HGRC
 echo 'hgext.mq =' >> $HGRC
 
--- a/en/examples/mq.tarball	Sun Jul 23 23:38:18 2006 -0700
+++ b/en/examples/mq.tarball	Sun Jul 23 23:38:41 2006 -0700
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 cp $EXAMPLE_DIR/data/netplug-*.tar.bz2 .
 ln -s /bin/true download
 
--- a/en/examples/mq.tools	Sun Jul 23 23:38:18 2006 -0700
+++ b/en/examples/mq.tools	Sun Jul 23 23:38:41 2006 -0700
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 cp $EXAMPLE_DIR/data/remove-redundant-null-checks.patch .
 
 #$ name: tools
--- a/en/examples/mq.tutorial	Sun Jul 23 23:38:18 2006 -0700
+++ b/en/examples/mq.tutorial	Sun Jul 23 23:38:41 2006 -0700
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 echo '[extensions]' >> $HGRC
 echo 'hgext.mq =' >> $HGRC