Rev 4: Small updates in http://bzr.arbash-meinel.com/plugins/raf
John Arbash Meinel
john at arbash-meinel.com
Wed Jan 14 20:46:41 GMT 2009
At http://bzr.arbash-meinel.com/plugins/raf
------------------------------------------------------------
revno: 4
revision-id: john at arbash-meinel.com-20090114204625-i12ghwseck9fw55b
parent: john at arbash-meinel.com-20090114204439-0pfzgwq3zu4dkyrw
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: raf
timestamp: Wed 2009-01-14 14:46:25 -0600
message:
Small updates
-------------- next part --------------
=== modified file '__init__.py'
--- a/__init__.py 2009-01-14 20:44:39 +0000
+++ b/__init__.py 2009-01-14 20:46:25 +0000
@@ -21,10 +21,10 @@
"""
# This is meant to be the 'trunk' branch of your repository
-DEFAULT_TARGET_BRANCH = 'bzr+ssh://host/path/to/repo/trunk'
+DEFAULT_TARGET_BRANCH = 'bzr+ssh://example.com/path/to/repo/trunk'
# This is meant to be the 'archive' of old branches, when a new feature branch
# is archived, it will be renamed into this directory
-DEFAULT_ARCHIVE_BASE = 'bzr+ssh://host/path/to/repo/archived'
+DEFAULT_ARCHIVE_BASE = 'bzr+ssh://example.com/path/to/repo/archived'
from bzrlib import (
@@ -73,9 +73,11 @@
]
def run(self, url=None, target=None, archive=None, no_check=False):
- from bzrlib.raf import raf
-
- b, wt = raf.find_branch_and_workingtree(url)
+ from bzrlib.plugins.raf import raf
+
+ b, wt = raf.find_branch_to_archive(url)
+
+ archive_trans, archived_url = raf.get_archived_location(b, archive)
commands.register_command(cmd_archive_branch)
More information about the bazaar-commits
mailing list