* Shared repository with trees (format: 2a) * clone original branch to *trunk* * set append_revisions_only = true at trunk/.bzr/branch/branch.conf git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5932 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a267babfe8
commit
9fa4fff48a
Binary file not shown.
|
@ -26,7 +26,8 @@ class RepositoriesBazaarControllerTest < ActionController::TestCase
|
||||||
:repositories, :enabled_modules
|
:repositories, :enabled_modules
|
||||||
|
|
||||||
# No '..' in the repository path
|
# No '..' in the repository path
|
||||||
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/bazaar_repository'
|
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') +
|
||||||
|
'/tmp/test/bazaar_repository/trunk'
|
||||||
PRJ_ID = 3
|
PRJ_ID = 3
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
|
|
|
@ -4,7 +4,8 @@ begin
|
||||||
|
|
||||||
class BazaarAdapterTest < ActiveSupport::TestCase
|
class BazaarAdapterTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/bazaar_repository'
|
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') +
|
||||||
|
'/tmp/test/bazaar_repository/trunk'
|
||||||
REPOSITORY_PATH.gsub!(/\/+/, '/')
|
REPOSITORY_PATH.gsub!(/\/+/, '/')
|
||||||
|
|
||||||
if File.directory?(REPOSITORY_PATH)
|
if File.directory?(REPOSITORY_PATH)
|
||||||
|
@ -78,7 +79,7 @@ begin
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_append_revisions_only
|
def test_append_revisions_only
|
||||||
assert_equal false, @adapter.append_revisions_only
|
assert_equal true, @adapter.append_revisions_only
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_info_not_nil
|
def test_info_not_nil
|
||||||
|
|
|
@ -21,7 +21,8 @@ class RepositoryBazaarTest < ActiveSupport::TestCase
|
||||||
fixtures :projects
|
fixtures :projects
|
||||||
|
|
||||||
# No '..' in the repository path
|
# No '..' in the repository path
|
||||||
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/bazaar_repository'
|
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') +
|
||||||
|
'/tmp/test/bazaar_repository/trunk'
|
||||||
REPOSITORY_PATH.gsub!(/\/+/, '/')
|
REPOSITORY_PATH.gsub!(/\/+/, '/')
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
|
|
Loading…
Reference in New Issue