Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
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
Environments
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
mercurial-devel
Commits
54e93b86a9e3
Commit
54e93b86a9e3
authored
14 years ago
by
Matt Mackall
Browse files
Options
Downloads
Patches
Plain Diff
rebase: improve --abort failure message
parent
7a9cf012dddc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hgext/rebase.py
+1
-1
1 addition, 1 deletion
hgext/rebase.py
tests/test-rebase-interruptions.out
+1
-1
1 addition, 1 deletion
tests/test-rebase-interruptions.out
with
2 additions
and
2 deletions
hgext/rebase.py
+
1
−
1
View file @
54e93b86
...
...
@@ -427,7 +427,7 @@
'
Restore the repository to its original state
'
if
set
(
repo
.
changelog
.
descendants
(
target
))
-
set
(
state
.
values
()):
repo
.
ui
.
warn
(
_
(
"
warning: new changesets detected on target branch,
"
"
not stripping
\n
"
))
"
can
'
t abort
\n
"
))
else
:
# Strip from the first rebased revision
merge
.
update
(
repo
,
repo
[
originalwd
].
rev
(),
False
,
True
,
False
)
...
...
This diff is collapsed.
Click to expand it.
tests/test-rebase-interruptions.out
+
1
−
1
View file @
54e93b86
...
...
@@ -95,7 +95,7 @@
% Abort the rebasing
warning: new changesets detected on target branch,
not stripping
warning: new changesets detected on target branch,
can't abort
@ 6: Extra
|
o 5: B
...
...
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