hgext/largefiles/reposetup.py
changeset 31740 a40e979b9d97
parent 31410 86dfd31c0329
child 34344 ac0cd81e2f83
--- a/hgext/largefiles/reposetup.py	Sat Apr 01 02:32:49 2017 +0900
+++ b/hgext/largefiles/reposetup.py	Sat Apr 01 02:32:49 2017 +0900
@@ -172,7 +172,7 @@
                             if standin not in ctx1:
                                 # from second parent
                                 modified.append(lfile)
-                            elif ctx1[standin].data().strip() \
+                            elif lfutil.readasstandin(ctx1[standin]) \
                                     != lfutil.hashfile(self.wjoin(lfile)):
                                 modified.append(lfile)
                             else:
@@ -188,7 +188,7 @@
                             standin = lfutil.standin(lfile)
                             if standin in ctx1:
                                 abslfile = self.wjoin(lfile)
-                                if ((ctx1[standin].data().strip() !=
+                                if ((lfutil.readasstandin(ctx1[standin]) !=
                                      lfutil.hashfile(abslfile)) or
                                     (checkexec and
                                      ('x' in ctx1.flags(standin)) !=