-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Fix tests that rely on repo_merge
git-aggregator 4.0 default fast-forward behavior overrides the git configuration in 099-create-fake-odoo. Replace it with 099-create-fake-odo to create a fake odoo repo with two branches.
- Loading branch information
1 parent
45df6f6
commit 98c5338
Showing
5 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tests/scaffoldings/repo_merge/custom/build.d/099-create-fake-odoo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
mkdir /tmp/fake-odoo | ||
cd /tmp/fake-odoo | ||
|
||
git init | ||
touch odoo-bin | ||
git add odoo-bin | ||
git commit -m odoo-bin | ||
|
||
git checkout -b branch1 | ||
touch 1.txt | ||
git add 1.txt | ||
git commit -m 1.txt | ||
|
||
git checkout -b branch2 HEAD~1 | ||
touch 2.txt | ||
git add 2.txt | ||
git commit -m 2.txt |
10 changes: 0 additions & 10 deletions
10
tests/scaffoldings/repo_merge/custom/build.d/099-git_merge_no_ff
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters