diff hgsubversion/layouts/__init__.py @ 1004:b2d89ba6b871

layouts: pull out code for detecting layout from subversion This is the start of an effort to refactor the code for how we handle subversion layoout to mercurial layout mapping. Specifically, it pulls out the logic for guessing what layout to use based on the contents of subversion. It also sets up a bit of the structure for the new library.
author David Schleimer <dschleimer@fb.com>
date Wed, 17 Apr 2013 14:10:47 -0700
parents
children 7a3b938825cd
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/hgsubversion/layouts/__init__.py
@@ -0,0 +1,16 @@
+"""Code for dealing with subversion layouts
+
+This package is intended to encapsulate everything about subversion
+layouts.  This includes detecting the layout based on looking at
+subversion, mapping subversion paths to hg branches, and doing any
+other path translation necessary.
+
+NB: this has a long way to go before it does everything it claims to
+
+"""
+
+import detect
+
+__all__ = [
+    "detect",
+    ]