diff hgext/lfs/wrapper.py @ 35473:02f54a1ec9eb

lfs: add note messages indicating what store holds the lfs blob The following corruption related patches were written prior to adding the user level cache, and it took awhile to track down why the tests changed. (It generally made things more resilient.) But I think this will be useful to the end user as well. I didn't make it --debug level, because there can be a ton of info coming out of clone/push/pull --debug. The pointers are sorted for test stability. I opted for ui.note() instead of checking ui.verbose and then using ui.write() for convenience, but I see most of this extension does the latter. I have no idea what the preferred form is.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 19 Dec 2017 17:53:44 -0500
parents a7ff4071c8aa
children 417e8e040102
line wrap: on
line diff
--- a/hgext/lfs/wrapper.py	Wed Dec 20 20:46:33 2017 -0500
+++ b/hgext/lfs/wrapper.py	Tue Dec 19 17:53:44 2017 -0500
@@ -279,7 +279,7 @@
         ctx = repo[r]
         for p in pointersfromctx(ctx).values():
             pointers[p.oid()] = p
-    return pointers.values()
+    return sorted(pointers.values())
 
 def pointersfromctx(ctx):
     """return a dict {path: pointer} for given single changectx"""