[PATCH 05 of 10] branchmap: create a mercurial.branchmap module
pierre-yves.david at logilab.fr
pierre-yves.david at logilab.fr
Wed Dec 19 13:53:21 UTC 2012
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1355924613 -3600
# Node ID f5816e6bc7b28b668ebc1739a5e56936826558cc
# Parent 64f6c124bb6554988020edb9809ba691f8cf9b08
branchmap: create a mercurial.branchmap module
This is the foundation stone for an extraction of branches map logic from local
repository class. Most of the branches map logic have very few caller and
therefor does not fit in the current criteria for code held by the localrepo
class. Important change will be made to this code in relation with revision
filtering. So we extract it in a dedicated module before adding additional
complexity.
Follow up commit do the actual code movement.
diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py
new file mode 100644
--- /dev/null
+++ b/mercurial/branchmap.py
@@ -0,0 +1,6 @@
+# branchmap.py - logic to computes, maintain and stores branchmap for local repo
+#
+# Copyright 2005-2007 Matt Mackall <mpm at selenic.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2 or any later version.
More information about the Mercurial-devel
mailing list