[PATCH] Add missing newline at EOF to two template files

Dan Villiom Podlaski Christiansen danchr at gmail.com
Sun Jan 24 13:53:20 CST 2010


# HG changeset patch
# User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
# Date 1264362220 -3600
# Node ID 273abc01eda444750adf3108dfc3f7499cca4fc9
# Parent  56d886182becaa8e4b35d139b3bdb96bdadbcd8d
Add missing newline at EOF to two template files.

diff --git a/mercurial/templates/atom/header.tmpl b/mercurial/templates/atom/header.tmpl
--- a/mercurial/templates/atom/header.tmpl
+++ b/mercurial/templates/atom/header.tmpl
@@ -1,2 +1,2 @@
 <?xml version="1.0" encoding="{encoding}"?>
-<feed xmlns="http://www.w3.org/2005/Atom">
\ No newline at end of file
+<feed xmlns="http://www.w3.org/2005/Atom">
diff --git a/mercurial/templates/rss/changelog.tmpl b/mercurial/templates/rss/changelog.tmpl
--- a/mercurial/templates/rss/changelog.tmpl
+++ b/mercurial/templates/rss/changelog.tmpl
@@ -3,4 +3,4 @@
     <description>{repo|escape} Changelog</description>
     {entries%changelogentry}
   </channel>
-</rss>
\ No newline at end of file
+</rss>
diff --git a/tests/test-hgweb-commands.out b/tests/test-hgweb-commands.out
--- a/tests/test-hgweb-commands.out
+++ b/tests/test-hgweb-commands.out
@@ -7,6 +7,7 @@ 200 Script output follows
 
 <?xml version="1.0" encoding="ascii"?>
 <feed xmlns="http://127.0.0.1/2005/Atom">
+
  <!-- Changelog -->
  <id>http://127.0.0.1/</id>
  <link rel="self" href="http://127.0.0.1/atom-log"/>
@@ -68,6 +69,7 @@ 200 Script output follows
 
 <?xml version="1.0" encoding="ascii"?>
 <feed xmlns="http://127.0.0.1/2005/Atom">
+
  <!-- Changelog -->
  <id>http://127.0.0.1/</id>
  <link rel="self" href="http://127.0.0.1/atom-log"/>
@@ -129,6 +131,7 @@ 200 Script output follows
 
 <?xml version="1.0" encoding="ascii"?>
 <feed xmlns="http://127.0.0.1/2005/Atom">
+
  <id>http://127.0.0.1/atom-log/tip/foo</id>
  <link rel="self" href="http://127.0.0.1/atom-log/tip/foo"/>
  <title>test: foo history</title>
diff --git a/tests/test-hgweb-no-path-info.out b/tests/test-hgweb-no-path-info.out
--- a/tests/test-hgweb-no-path-info.out
+++ b/tests/test-hgweb-no-path-info.out
@@ -10,6 +10,7 @@ 200 Script output follows
 [('Content-Type', 'application/atom+xml; charset=ascii')]
 <?xml version="1.0" encoding="ascii"?>
 <feed xmlns="http://www.w3.org/2005/Atom">
+
  <!-- Changelog -->
  <id>http://127.0.0.1/</id>
  <link rel="self" href="http://127.0.0.1/atom-log"/>
diff --git a/tests/test-hgweb-no-request-uri.out b/tests/test-hgweb-no-request-uri.out
--- a/tests/test-hgweb-no-request-uri.out
+++ b/tests/test-hgweb-no-request-uri.out
@@ -10,6 +10,7 @@ 200 Script output follows
 [('Content-Type', 'application/atom+xml; charset=ascii')]
 <?xml version="1.0" encoding="ascii"?>
 <feed xmlns="http://www.w3.org/2005/Atom">
+
  <!-- Changelog -->
  <id>http://127.0.0.1/</id>
  <link rel="self" href="http://127.0.0.1/atom-log"/>
diff --git a/tests/test-hgwebdir.out b/tests/test-hgwebdir.out
--- a/tests/test-hgwebdir.out
+++ b/tests/test-hgwebdir.out
@@ -227,6 +227,7 @@ 200 Script output follows
 
 <?xml version="1.0" encoding="ascii"?>
 <feed xmlns="http://127.0.0.1/2005/Atom">
+
  <!-- Changelog -->
  <id>http://127.0.0.1/t/a/</id>
  <link rel="self" href="http://127.0.0.1/t/a/atom-log"/>
@@ -256,6 +257,7 @@ 200 Script output follows
 
 <?xml version="1.0" encoding="ascii"?>
 <feed xmlns="http://127.0.0.1/2005/Atom">
+
  <!-- Changelog -->
  <id>http://127.0.0.1/t/a/</id>
  <link rel="self" href="http://127.0.0.1/t/a/atom-log"/>


More information about the Mercurial-devel mailing list