atom feed19 messages in com.selenic.mercurial-devel[PATCH 07 of 11] localrepo: decorate ...
FromSent OnAttachments
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Idan KamaraJul 16, 2011 7:34 am 
Adrian BuehlmannJul 16, 2011 9:03 am 
Matt MackallJul 18, 2011 1:12 pm 
Adrian BuehlmannJul 18, 2011 1:32 pm 
Matt MackallJul 18, 2011 2:29 pm 
Adrian BuehlmannJul 18, 2011 3:26 pm 
Idan KamaraJul 19, 2011 3:23 am 
Adrian BuehlmannJul 19, 2011 4:53 am 
Subject:[PATCH 07 of 11] localrepo: decorate _bookmarks/current with filecache
From:Idan Kamara (idan@gmail.com)
Date:Jul 16, 2011 7:34:38 am
List:com.selenic.mercurial-devel

# HG changeset patch # User Idan Kamara <idan@gmail.com> # Date 1310826866 -10800 # Node ID ec2758e130651868009f8afc837c77a61e850716 # Parent 1151fea4eaf932d9f51f1ef69be801c54ff726e6 localrepo: decorate _bookmarks/current with filecache

nodebookmarks() can be cached as well, leaving for later

diff -r 1151fea4eaf9 -r ec2758e13065 mercurial/localrepo.py --- a/mercurial/localrepo.py Sat Jul 16 17:34:26 2011 +0300 +++ b/mercurial/localrepo.py Sat Jul 16 17:34:26 2011 +0300 @@ -165,11 +165,11 @@ parts.pop() return False

- @util.propertycache + @filecache('bookmarks') def _bookmarks(self): return bookmarks.read(self)

- @util.propertycache + @filecache('bookmarks.current') def _bookmarkcurrent(self): return bookmarks.readcurrent(self)