changeset 16928:73b9286e667c

largefiles: lowercase messages
author Martin Geisler <mg@aragost.com>
date Tue, 12 Jun 2012 14:18:18 +0200
parents 7922004a46b8
children 4b02d7006169
files hgext/largefiles/lfutil.py hgext/largefiles/localstore.py tests/test-largefiles-cache.t
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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