largefiles: lowercase messages
authorMartin Geisler <mg@aragost.com>
Tue, 12 Jun 2012 14:18:18 +0200
changeset 16928 73b9286e667c
parent 16927 7922004a46b8
child 16929 4b02d7006169
largefiles: lowercase messages
hgext/largefiles/lfutil.py
hgext/largefiles/localstore.py
tests/test-largefiles-cache.t
--- a/hgext/largefiles/lfutil.py	Tue Jun 12 14:18:18 2012 +0200
+++ b/hgext/largefiles/lfutil.py	Tue Jun 12 14:18:18 2012 +0200
@@ -115,10 +115,10 @@
 
 def findfile(repo, hash):
     if instore(repo, hash):
-        repo.ui.note(_('Found %s in store\n') % hash)
+        repo.ui.note(_('found %s in store\n') % hash)
         return storepath(repo, hash)
     elif inusercache(repo.ui, hash):
-        repo.ui.note(_('Found %s in system cache\n') % hash)
+        repo.ui.note(_('found %s in system cache\n') % hash)
         path = storepath(repo, hash)
         util.makedirs(os.path.dirname(path))
         link(usercachepath(repo.ui, hash), path)
--- a/hgext/largefiles/localstore.py	Tue Jun 12 14:18:18 2012 +0200
+++ b/hgext/largefiles/localstore.py	Tue Jun 12 14:18:18 2012 +0200
@@ -43,7 +43,7 @@
             path = lfutil.usercachepath(self.ui, hash)
         else:
             raise basestore.StoreError(filename, hash, '',
-                _("Can't get file locally"))
+                _("can't get file locally"))
         fd = open(path, 'rb')
         try:
             return lfutil.copyandhash(fd, tmpfile)
--- a/tests/test-largefiles-cache.t	Tue Jun 12 14:18:18 2012 +0200
+++ b/tests/test-largefiles-cache.t	Tue Jun 12 14:18:18 2012 +0200
@@ -49,7 +49,7 @@
   $ hg update
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   getting changed largefiles
-  large: Can't get file locally
+  large: can't get file locally
   (no default or default-push path set in hgrc)
   0 largefiles updated, 0 removed
   $ hg status
@@ -67,7 +67,7 @@
   $ hg update
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   getting changed largefiles
-  large: Can't get file locally
+  large: can't get file locally
   (no default or default-push path set in hgrc)
   0 largefiles updated, 0 removed
   $ hg status