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
4e0e9e25
Commit
4e0e9e25
authored
11 years ago
by
Siddharth Agarwal
Browse files
Options
Downloads
Patches
Plain Diff
test-pull.t: add test for no-op pull
parent
373f854f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test-pull.t
+19
-0
19 additions, 0 deletions
tests/test-pull.t
with
19 additions
and
0 deletions
tests/test-pull.t
+
19
−
0
View file @
4e0e9e25
...
...
@@ -37,6 +37,19 @@
date: Mon Jan 01 00:00:10 2007 +0000
summary: add alpha
no-op pull
$ hg -R hgrepo pull -r t_alpha
pulling from $TESTTMP/gitrepo
no changes found
no-op pull with added bookmark
$ cd gitrepo
$ git checkout -qb epsilon t_alpha
$ cd ..
$ hg -R hgrepo pull -r epsilon
pulling from $TESTTMP/gitrepo
no changes found
pull a branch
$ hg -R hgrepo pull -r beta
pulling from $TESTTMP/gitrepo
...
...
@@ -52,4 +65,5 @@
| summary: add beta
|
@ changeset: 0:3442585be8a6
bookmark: epsilon
bookmark: master
...
...
@@ -55,4 +69,5 @@
bookmark: master
tag: default/epsilon
tag: default/master
tag: t_alpha
user: test <test@example.org>
...
...
@@ -101,6 +116,8 @@
| summary: add beta
|
@ changeset: 0:3442585be8a6
bookmark: epsilon
tag: default/epsilon
tag: t_alpha
user: test <test@example.org>
date: Mon Jan 01 00:00:10 2007 +0000
...
...
@@ -154,6 +171,8 @@
| summary: add beta
|
@ changeset: 0:3442585be8a6
bookmark: epsilon
tag: default/epsilon
tag: t_alpha
user: test <test@example.org>
date: Mon Jan 01 00:00:10 2007 +0000
...
...
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