##// END OF EJS Templates
convert: specify unit for ui.progress when operating on files
av6 -
r28470:80bd110d default
parent child Browse files
Show More
@@ -145,7 +145,7 b' class progresssource(object):'
145 def getfile(self, file, rev):
145 def getfile(self, file, rev):
146 self.retrieved += 1
146 self.retrieved += 1
147 self.ui.progress(_('getting files'), self.retrieved,
147 self.ui.progress(_('getting files'), self.retrieved,
148 item=file, total=self.filecount)
148 item=file, total=self.filecount, unit=_('files'))
149 return self.source.getfile(file, rev)
149 return self.source.getfile(file, rev)
150
150
151 def targetfilebelongstosource(self, targetfilename):
151 def targetfilebelongstosource(self, targetfilename):
@@ -62,9 +62,9 b' Convert while testing all possible outpu'
62 scanning paths: /trunk/\xc3\xa9 2/3 (66.67%) (esc)
62 scanning paths: /trunk/\xc3\xa9 2/3 (66.67%) (esc)
63 committing files:
63 committing files:
64 \xc3\xa0/e\xcc\x81 (esc)
64 \xc3\xa0/e\xcc\x81 (esc)
65 getting files: \xc3\xa0/e\xcc\x81 1/2 (50.00%) (esc)
65 getting files: \xc3\xa0/e\xcc\x81 1/2 files (50.00%) (esc)
66 \xc3\xa9 (esc)
66 \xc3\xa9 (esc)
67 getting files: \xc3\xa9 2/2 (100.00%) (esc)
67 getting files: \xc3\xa9 2/2 files (100.00%) (esc)
68 committing manifest
68 committing manifest
69 committing changelog
69 committing changelog
70 3 copy files
70 3 copy files
@@ -82,14 +82,14 b' Convert while testing all possible outpu'
82 reparent to file://*/svn-repo/trunk (glob)
82 reparent to file://*/svn-repo/trunk (glob)
83 scanning paths: /trunk/\xc3\xb9 3/4 (75.00%) (esc)
83 scanning paths: /trunk/\xc3\xb9 3/4 (75.00%) (esc)
84 mark /trunk/\xc3\xb9 came from \xc3\xa0:2 (esc)
84 mark /trunk/\xc3\xb9 came from \xc3\xa0:2 (esc)
85 getting files: \xc3\xa0/e\xcc\x81 1/4 (25.00%) (esc)
85 getting files: \xc3\xa0/e\xcc\x81 1/4 files (25.00%) (esc)
86 getting files: \xc3\xa9 2/4 (50.00%) (esc)
86 getting files: \xc3\xa9 2/4 files (50.00%) (esc)
87 committing files:
87 committing files:
88 \xc3\xa8 (esc)
88 \xc3\xa8 (esc)
89 getting files: \xc3\xa8 3/4 (75.00%) (esc)
89 getting files: \xc3\xa8 3/4 files (75.00%) (esc)
90 \xc3\xa8: copy \xc3\xa9:6b67ccefd5ce6de77e7ead4f5292843a0255329f (esc)
90 \xc3\xa8: copy \xc3\xa9:6b67ccefd5ce6de77e7ead4f5292843a0255329f (esc)
91 \xc3\xb9/e\xcc\x81 (esc)
91 \xc3\xb9/e\xcc\x81 (esc)
92 getting files: \xc3\xb9/e\xcc\x81 4/4 (100.00%) (esc)
92 getting files: \xc3\xb9/e\xcc\x81 4/4 files (100.00%) (esc)
93 \xc3\xb9/e\xcc\x81: copy \xc3\xa0/e\xcc\x81:a9092a3d84a37b9993b5c73576f6de29b7ea50f6 (esc)
93 \xc3\xb9/e\xcc\x81: copy \xc3\xa0/e\xcc\x81:a9092a3d84a37b9993b5c73576f6de29b7ea50f6 (esc)
94 committing manifest
94 committing manifest
95 committing changelog
95 committing changelog
@@ -104,8 +104,8 b' Convert while testing all possible outpu'
104 gone from -1
104 gone from -1
105 reparent to file://*/svn-repo (glob)
105 reparent to file://*/svn-repo (glob)
106 reparent to file://*/svn-repo/trunk (glob)
106 reparent to file://*/svn-repo/trunk (glob)
107 getting files: \xc3\xa8 1/2 (50.00%) (esc)
107 getting files: \xc3\xa8 1/2 files (50.00%) (esc)
108 getting files: \xc3\xb9/e\xcc\x81 2/2 (100.00%) (esc)
108 getting files: \xc3\xb9/e\xcc\x81 2/2 files (100.00%) (esc)
109 committing files:
109 committing files:
110 committing manifest
110 committing manifest
111 committing changelog
111 committing changelog
General Comments 0
You need to be logged in to leave comments. Login now