* 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
:repositories, :enabled_modules
# 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
def setup
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!(/\/+/, '/')
if File.directory?(REPOSITORY_PATH)
end
def test_append_revisions_only
- assert_equal false, @adapter.append_revisions_only
+ assert_equal true, @adapter.append_revisions_only
end
def test_info_not_nil
fixtures :projects
# 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!(/\/+/, '/')
def setup