Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 1007828

Browse files
committed
[NEW] Adding Bazaar support : test infrastructure, test bzr repository
Michael
1 parent a3c86f1 commit 1007828

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+56
-0
lines changed

test/repositories/bzr/.bzr/README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This is a Bazaar control directory.
2+
Do not change any files in this directory.
3+
See http://bazaar-vcs.org/ for more information about Bazaar.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bazaar-NG meta directory, format 1

test/repositories/bzr/.bzr/branch/branch.conf

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bazaar Branch Format 6 (bzr 0.15)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

test/repositories/bzr/.bzr/branch/tags

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BZR conflict list format 1
1.06 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bazaar Working Tree Format 4 (bzr 0.15)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bazaar pack repository format 1 (needs bzr 0.92)
Binary file not shown.
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bazaar Graph Index 1
2+
node_ref_lists=0
3+
key_elements=1
4+
len=0
5+
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bazaar Graph Index 1
2+
node_ref_lists=0
3+
key_elements=1
4+
len=0
5+
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bazaar Graph Index 1
2+
node_ref_lists=0
3+
key_elements=1
4+
len=0
5+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bazaar Graph Index 1
2+
node_ref_lists=2
3+
key_elements=2
4+
len=0
5+
Binary file not shown.
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bazaar Graph Index 1
2+
node_ref_lists=0
3+
key_elements=1
4+
len=0
5+
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bazaar Graph Index 1
2+
node_ref_lists=0
3+
key_elements=1
4+
len=0
5+
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bazaar Graph Index 1
2+
node_ref_lists=0
3+
key_elements=1
4+
len=0
5+
Binary file not shown.
359 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

test/repositories/bzr/file1.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
first file
2+
second line

test/repositories/bzr/file3.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a third file

test/repositories/bzr/file4.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yet another file

test/repositories/bzr/file5.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
and yet another file
2+
3+
4+
...

test/test_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,8 @@ def with_git_repository(name, &block)
7575
def with_hg_repository(name, &block)
7676
with_repository(Scm::Adapters::HgAdapter, name, block)
7777
end
78+
79+
def with_bzr_repository(name, &block)
80+
with_repository(Scm::Adapters::BzrAdapter, name, block)
81+
end
7882
end

0 commit comments

Comments
 (0)