Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
hg-git
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
hg-git
Commits
e688147a
Commit
e688147a
authored
13 years ago
by
durin42
Browse files
Options
Downloads
Patches
Plain Diff
tests: cope with yet another git output format change
parent
4ed0d8da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tests/test-merge
+1
-1
1 addition, 1 deletion
tests/test-merge
tests/test-merge.out
+1
-1
1 addition, 1 deletion
tests/test-merge.out
tests/test-octopus
+1
-1
1 addition, 1 deletion
tests/test-octopus
tests/test-octopus.out
+1
-1
1 addition, 1 deletion
tests/test-octopus.out
with
4 additions
and
4 deletions
tests/test-merge
+
1
−
1
View file @
e688147a
...
...
@@ -48,7 +48,7 @@
commit
-m
'add gamma'
# clean merge
git merge beta |
sed
"s/the '//;s/' strategy//"
|
sed
's/^Merge.*recursive.*$/Merge successful/'
|
sed
's/files/file/;s/insertions/insertion/'
git merge beta |
sed
"s/the '//;s/' strategy//"
|
sed
's/^Merge.*recursive.*$/Merge successful/'
|
sed
's/files/file/;s/insertions/insertion/
;s/, 0 deletions.*//
'
cd
..
mkdir
gitrepo2
...
...
This diff is collapsed.
Click to expand it.
tests/test-merge.out
+
1
−
1
View file @
e688147a
...
...
@@ -4,7 +4,7 @@
Switched to branch "master"
Merge successful
beta | 1 +
1 file changed, 1 insertion(+)
, 0 deletions(-)
1 file changed, 1 insertion(+)
create mode 100644 beta
Initialized empty Git repository in gitrepo2/
...
...
This diff is collapsed.
Click to expand it.
tests/test-octopus
+
1
−
1
View file @
e688147a
...
...
@@ -53,7 +53,7 @@
git add delta
commit
-m
'add delta'
git merge branch1 branch2 |
sed
"s/the '//;s/' strategy//"
|
sed
's/^Merge.*octopus.*$/Merge successful/'
git merge branch1 branch2 |
sed
"s/the '//;s/' strategy//"
|
sed
's/^Merge.*octopus.*$/Merge successful/
;s/, 0 deletions.*//
'
cd
..
mkdir
gitrepo2
...
...
This diff is collapsed.
Click to expand it.
tests/test-octopus.out
+
1
−
1
View file @
e688147a
...
...
@@ -8,7 +8,7 @@
Merge successful
beta | 1 +
gamma | 1 +
2 files changed, 2 insertions(+)
, 0 deletions(-)
2 files changed, 2 insertions(+)
create mode 100644 beta
create mode 100644 gamma
Initialized empty Git repository in gitrepo2/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment