tests/test-fileset.t
changeset 18842 3ce3f2b059a1
parent 17371 1310489eb5d6
child 19470 19ac0d8ee9a2
--- a/tests/test-fileset.t	Fri Mar 29 15:27:33 2013 -0700
+++ b/tests/test-fileset.t	Fri Mar 29 16:48:32 2013 -0700
@@ -226,3 +226,21 @@
   b2
   c1
 
+  >>> open('dos', 'wb').write("dos\r\n")
+  >>> open('mixed', 'wb').write("dos\r\nunix\n")
+  >>> open('mac', 'wb').write("mac\r")
+  $ hg add dos mixed mac
+
+  $ fileset 'eol(dos)'
+  dos
+  mixed
+  $ fileset 'eol(unix)'
+  .hgsub
+  .hgsubstate
+  a1
+  b1
+  b2
+  c1
+  mixed
+  $ fileset 'eol(mac)'
+  mac