diff tests/test-eol-hook.out @ 11249:0bb67503ad4b stable

eol: extension for managing file EOLs
author Martin Geisler <mg@lazybytes.net>
date Mon, 31 May 2010 21:37:01 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-eol-hook.out	Mon May 31 21:37:01 2010 +0200
@@ -0,0 +1,30 @@
+updating to branch default
+0 files updated, 0 files merged, 0 files removed, 0 files unresolved
+% hg commit (LF a.txt)
+% hg push
+pushing to ../main
+searching for changes
+adding changesets
+adding manifests
+adding file changes
+added 2 changesets with 2 changes to 2 files
+% hg commit (CRLF a.txt)
+% hg push
+pushing to ../main
+searching for changes
+adding changesets
+adding manifests
+adding file changes
+added 1 changesets with 1 changes to 1 files
+error: pretxnchangegroup hook failed: a.txt should not have CRLF line endings
+transaction abort!
+rollback completed
+abort: a.txt should not have CRLF line endings
+% hg commit (LF a.txt)
+% hg push
+pushing to ../main
+searching for changes
+adding changesets
+adding manifests
+adding file changes
+added 2 changesets with 2 changes to 1 files