diff hgsubversion/svnmeta.py @ 1184:43384d2782dc

svnmeta: move revmap.youngest to meta.lastpulled Using our new generator, we factor out revmap.youngest and renamed it to the same name as the config file 'lastpulled' because that is the name of the file and is arguably less confusing to read.
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:44 -0500
parents 09b20039192c
children f9650d24464a
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
@@ -32,6 +32,8 @@ class SVNMeta(object):
         self.subdir = subdir
         self._revmap = None
 
+        self._gen_cachedconfig('lastpulled', 0, configname=False)
+
         author_host = self.ui.config('hgsubversion', 'defaulthost', uuid)
         authors = util.configpath(self.ui, 'authormap')
         self.usebranchnames = self.ui.configbool('hgsubversion',