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
Admin message
This instance will be upgraded to Heptapod 17.9.0rc1 on 2025-03-27 between 17:00 and 18:00 UTC+2
Show more breadcrumbs
mercurial
mercurial-devel
Commits
60344b83e442
Commit
60344b83e442
authored
13 years ago
by
Pierre-Yves David
Browse files
Options
Downloads
Patches
Plain Diff
phases: on copy clone, do not copy phases data if repote is publishing
parent
62aa9305399d
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
mercurial/hg.py
+3
-0
3 additions, 0 deletions
mercurial/hg.py
tests/test-phases-exchange.t
+18
-0
18 additions, 0 deletions
tests/test-phases-exchange.t
with
21 additions
and
0 deletions
mercurial/hg.py
+
3
−
0
View file @
60344b83
...
...
@@ -183,4 +183,5 @@
try
:
hardlink
=
None
num
=
0
srcpublishing
=
srcrepo
.
ui
.
configbool
(
'
phases
'
,
'
publish
'
,
True
)
for
f
in
srcrepo
.
store
.
copylist
():
...
...
@@ -186,4 +187,6 @@
for
f
in
srcrepo
.
store
.
copylist
():
if
srcpublishing
and
f
.
endswith
(
'
phaseroots
'
):
continue
src
=
os
.
path
.
join
(
srcrepo
.
sharedpath
,
f
)
dst
=
os
.
path
.
join
(
destpath
,
f
)
dstbase
=
os
.
path
.
dirname
(
dst
)
...
...
This diff is collapsed.
Click to expand it.
tests/test-phases-exchange.t
+
18
−
0
View file @
60344b83
...
...
@@ -589,3 +589,21 @@
1
0
a
-
B
-
548
a3d25dbf0
0
0
a
-
A
-
054250
a37db4
2
.
cloning
publishing
repository
(
everything
should
be
public
)
$
hg
clone
-
U
alpha
Upsilon
$
hgph
-
R
Upsilon
11
0
A
-
secret
-
435
b5d83910c
10
0
a
-
H
-
967
b449fbc94
9
0
a
-
G
-
3e27
b6f1eee1
8
0
a
-
F
-
b740e3e5c05d
7
0
a
-
E
-
e9f537e46dea
6
0
n
-
B
-
145e75495359
5
0
n
-
A
-
d6bcb4f74035
4
0
b
-
A
-
f54f1bb90ff3
3
0
a
-
D
-
b555f63b6063
2
0
a
-
C
-
54
acac6f23ab
1
0
a
-
B
-
548
a3d25dbf0
0
0
a
-
A
-
054250
a37db4
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