Here is a small patch that adds some missing "import" declarations.

When using a Git repository as a target it was not immediately clear
(without the imported exceptions below) that Tailor should be pointed
at a ".git" directory rather than its working directory parent, or
that it will initialise the Git repo only if the directory doesn't
already exist.

Mark


diff -rN -u old-tailor/vcpx/repository/git/__init__.py 
new-tailor/vcpx/repository/git/__init__.py
--- old-tailor/vcpx/repository/git/__init__.py  2006-12-04 13:38:32.000000000 
+0000
+++ new-tailor/vcpx/repository/git/__init__.py  2006-12-04 13:38:32.000000000 
+0000
@@ -17,6 +17,7 @@
 from vcpx.repository import Repository
 from vcpx.shwrap import ExternalCommand, PIPE
 from vcpx.config import ConfigurationError
+from vcpx.target import TargetInitializationFailure


 class GitRepository(Repository):
diff -rN -u old-tailor/vcpx/repository/git/target.py 
new-tailor/vcpx/repository/git/target.py
--- old-tailor/vcpx/repository/git/target.py    2006-12-04 13:38:32.000000000 
+0000
+++ new-tailor/vcpx/repository/git/target.py    2006-12-04 13:38:32.000000000 
+0000
@@ -18,6 +18,7 @@
 from vcpx.target import SynchronizableTargetWorkingDir, 
TargetInitializationFailure
 from vcpx.tzinfo import FixedOffset
 from vcpx import TailorException
+from vcpx.source import ChangesetApplicationFailure


 class BranchpointFailure(TailorException):

_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to