Show More
@@ -365,7 +365,7 b' def copystore(ui, srcrepo, destpath):' | |||
|
365 | 365 | try: |
|
366 | 366 | hardlink = None |
|
367 | 367 | topic = _('linking') if hardlink else _('copying') |
|
368 | with ui.makeprogress(topic) as progress: | |
|
368 | with ui.makeprogress(topic, unit=_('files')) as progress: | |
|
369 | 369 | num = 0 |
|
370 | 370 | srcpublishing = srcrepo.publishing() |
|
371 | 371 | srcvfs = vfsmod.vfs(srcrepo.sharedpath) |
@@ -87,47 +87,47 b' No update, with debug option:' | |||
|
87 | 87 | |
|
88 | 88 | #if hardlink |
|
89 | 89 | $ hg --debug clone -U . ../c --config progress.debug=true |
|
90 | linking: 1 | |
|
91 | linking: 2 | |
|
92 | linking: 3 | |
|
93 | linking: 4 | |
|
94 | linking: 5 | |
|
95 | linking: 6 | |
|
96 | linking: 7 | |
|
97 | linking: 8 | |
|
90 | linking: 1 files | |
|
91 | linking: 2 files | |
|
92 | linking: 3 files | |
|
93 | linking: 4 files | |
|
94 | linking: 5 files | |
|
95 | linking: 6 files | |
|
96 | linking: 7 files | |
|
97 | linking: 8 files | |
|
98 | 98 | linked 8 files (reporevlogstore !) |
|
99 | linking: 9 (reposimplestore !) | |
|
100 | linking: 10 (reposimplestore !) | |
|
101 | linking: 11 (reposimplestore !) | |
|
102 | linking: 12 (reposimplestore !) | |
|
103 | linking: 13 (reposimplestore !) | |
|
104 | linking: 14 (reposimplestore !) | |
|
105 | linking: 15 (reposimplestore !) | |
|
106 | linking: 16 (reposimplestore !) | |
|
107 | linking: 17 (reposimplestore !) | |
|
108 | linking: 18 (reposimplestore !) | |
|
99 | linking: 9 files (reposimplestore !) | |
|
100 | linking: 10 files (reposimplestore !) | |
|
101 | linking: 11 files (reposimplestore !) | |
|
102 | linking: 12 files (reposimplestore !) | |
|
103 | linking: 13 files (reposimplestore !) | |
|
104 | linking: 14 files (reposimplestore !) | |
|
105 | linking: 15 files (reposimplestore !) | |
|
106 | linking: 16 files (reposimplestore !) | |
|
107 | linking: 17 files (reposimplestore !) | |
|
108 | linking: 18 files (reposimplestore !) | |
|
109 | 109 | linked 18 files (reposimplestore !) |
|
110 | 110 | #else |
|
111 | 111 | $ hg --debug clone -U . ../c --config progress.debug=true |
|
112 | linking: 1 | |
|
113 | copying: 2 | |
|
114 | copying: 3 | |
|
115 | copying: 4 | |
|
116 | copying: 5 | |
|
117 | copying: 6 | |
|
118 | copying: 7 | |
|
119 | copying: 8 | |
|
112 | linking: 1 files | |
|
113 | copying: 2 files | |
|
114 | copying: 3 files | |
|
115 | copying: 4 files | |
|
116 | copying: 5 files | |
|
117 | copying: 6 files | |
|
118 | copying: 7 files | |
|
119 | copying: 8 files | |
|
120 | 120 | copied 8 files (reporevlogstore !) |
|
121 | copying: 9 (reposimplestore !) | |
|
122 | copying: 10 (reposimplestore !) | |
|
123 | copying: 11 (reposimplestore !) | |
|
124 | copying: 12 (reposimplestore !) | |
|
125 | copying: 13 (reposimplestore !) | |
|
126 | copying: 14 (reposimplestore !) | |
|
127 | copying: 15 (reposimplestore !) | |
|
128 | copying: 16 (reposimplestore !) | |
|
129 | copying: 17 (reposimplestore !) | |
|
130 | copying: 18 (reposimplestore !) | |
|
121 | copying: 9 files (reposimplestore !) | |
|
122 | copying: 10 files (reposimplestore !) | |
|
123 | copying: 11 files (reposimplestore !) | |
|
124 | copying: 12 files (reposimplestore !) | |
|
125 | copying: 13 files (reposimplestore !) | |
|
126 | copying: 14 files (reposimplestore !) | |
|
127 | copying: 15 files (reposimplestore !) | |
|
128 | copying: 16 files (reposimplestore !) | |
|
129 | copying: 17 files (reposimplestore !) | |
|
130 | copying: 18 files (reposimplestore !) | |
|
131 | 131 | copied 18 files (reposimplestore !) |
|
132 | 132 | #endif |
|
133 | 133 | $ cd ../c |
@@ -61,13 +61,13 b' Prepare repo r1:' | |||
|
61 | 61 | Create hardlinked clone r2: |
|
62 | 62 | |
|
63 | 63 | $ hg clone -U --debug r1 r2 --config progress.debug=true |
|
64 | linking: 1 | |
|
65 | linking: 2 | |
|
66 | linking: 3 | |
|
67 | linking: 4 | |
|
68 | linking: 5 | |
|
69 | linking: 6 | |
|
70 | linking: 7 | |
|
64 | linking: 1 files | |
|
65 | linking: 2 files | |
|
66 | linking: 3 files | |
|
67 | linking: 4 files | |
|
68 | linking: 5 files | |
|
69 | linking: 6 files | |
|
70 | linking: 7 files | |
|
71 | 71 | linked 7 files |
|
72 | 72 | |
|
73 | 73 | Create non-hardlinked clone r3: |
General Comments 0
You need to be logged in to leave comments.
Login now