diff hgext/largefiles/lfcommands.py @ 15313:3eb1a90ea409 stable

largefiles: fix newline for lfconverted repos
author Eli Carter <eli.carter@tektronix.com>
date Tue, 18 Oct 2011 17:28:26 -0500
parents 07811b3b119b
children 41f371150ccb
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py	Wed Oct 19 15:37:03 2011 -0500
+++ b/hgext/largefiles/lfcommands.py	Tue Oct 18 17:28:26 2011 -0500
@@ -291,7 +291,7 @@
                 # doesn't change after rename or copy
                 renamed = lfutil.standin(renamed[0])
 
-            return context.memfilectx(f, lfiletohash[srcfname], 'l' in
+            return context.memfilectx(f, lfiletohash[srcfname] + '\n', 'l' in
                 fctx.flags(), 'x' in fctx.flags(), renamed)
         else:
             try: