# HG changeset patch # User Martin Geisler # Date 1339503498 -7200 # Node ID 73b9286e667cabcb4e77996cfd9dd931eeee3bd5 # Parent 7922004a46b8c731e45b51c1e9617bc60cafe804 largefiles: lowercase messages diff -r 7922004a46b8 -r 73b9286e667c hgext/largefiles/lfutil.py --- 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) diff -r 7922004a46b8 -r 73b9286e667c hgext/largefiles/localstore.py --- 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) diff -r 7922004a46b8 -r 73b9286e667c tests/test-largefiles-cache.t --- 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