hgext/largefiles/reposetup.py
changeset 15253 67d010779907
parent 15252 6e809bb4f969
child 15254 dd03d3a9f888
--- a/hgext/largefiles/reposetup.py	Wed Oct 12 20:59:27 2011 -0400
+++ b/hgext/largefiles/reposetup.py	Thu Oct 13 20:24:29 2011 -0400
@@ -287,10 +287,11 @@
                     return orig(text=text, user=user, date=date, match=match,
                                     force=force, editor=editor, extra=extra)
 
-                for file in match.files():
-                    if lfutil.isstandin(file):
+                for f in match.files():
+                    if lfutil.isstandin(f):
                         raise util.Abort(
-                            "Don't commit largefile standin. Commit largefile.")
+                            _('file "%s" is a largefile standin') % f,
+                            hint=('commit the largefile itself instead'))
 
                 # Case 2: user calls commit with specified patterns: refresh
                 # any matching big files.