##// END OF EJS Templates
merge with stable
Matt Mackall -
r16232:877aea86 merge default
parent child Browse files
Show More
@@ -135,7 +135,7 b' def churn(ui, repo, *pats, **opts):'
135 except ValueError:
135 except ValueError:
136 l = l.strip()
136 l = l.strip()
137 if l:
137 if l:
138 ui.warn(_("skipping malformed alias: %s\n" % l))
138 ui.warn(_("skipping malformed alias: %s\n") % l)
139 continue
139 continue
140
140
141 rate = countrate(ui, repo, amap, *pats, **opts).items()
141 rate = countrate(ui, repo, amap, *pats, **opts).items()
@@ -113,7 +113,7 b' class monotone_source(converter_source, '
113
113
114 stream = self.mtnreadfp.read(1)
114 stream = self.mtnreadfp.read(1)
115 if stream not in 'mewptl':
115 if stream not in 'mewptl':
116 raise util.Abort(_('bad mtn packet - bad stream type %s' % stream))
116 raise util.Abort(_('bad mtn packet - bad stream type %s') % stream)
117
117
118 read = self.mtnreadfp.read(1)
118 read = self.mtnreadfp.read(1)
119 if read != ':':
119 if read != ':':
@@ -309,7 +309,7 b' def _converttags(ui, revmap, data):'
309 newdata.append('%s %s\n' % (node.hex(revmap[newid]),
309 newdata.append('%s %s\n' % (node.hex(revmap[newid]),
310 name))
310 name))
311 except KeyError:
311 except KeyError:
312 ui.warn(_('no mapping for id %s\n' % id))
312 ui.warn(_('no mapping for id %s\n') % id)
313 continue
313 continue
314 return ''.join(newdata)
314 return ''.join(newdata)
315
315
@@ -157,7 +157,7 b' def remove_largefiles(ui, repo, *pats, *'
157 # If this is being called by addremove, notify the user that we
157 # If this is being called by addremove, notify the user that we
158 # are removing the file.
158 # are removing the file.
159 if getattr(repo, "_isaddremove", False):
159 if getattr(repo, "_isaddremove", False):
160 ui.status(_('removing %s\n' % f))
160 ui.status(_('removing %s\n') % f)
161 if os.path.exists(repo.wjoin(f)):
161 if os.path.exists(repo.wjoin(f)):
162 util.unlinkpath(repo.wjoin(f))
162 util.unlinkpath(repo.wjoin(f))
163 lfdirstate.remove(f)
163 lfdirstate.remove(f)
@@ -682,7 +682,7 b' def override_pull(orig, ui, repo, source'
682 for head in newheads:
682 for head in newheads:
683 (cached, missing) = lfcommands.cachelfiles(ui, repo, head)
683 (cached, missing) = lfcommands.cachelfiles(ui, repo, head)
684 numcached += len(cached)
684 numcached += len(cached)
685 ui.status(_("%d largefiles cached\n" % numcached))
685 ui.status(_("%d largefiles cached\n") % numcached)
686 return result
686 return result
687
687
688 def override_rebase(orig, ui, repo, **opts):
688 def override_rebase(orig, ui, repo, **opts):
@@ -1193,7 +1193,8 b' class queue(object):'
1193 root = self.series[start]
1193 root = self.series[start]
1194 target = patchheader(self.join(root), self.plainmode).parent
1194 target = patchheader(self.join(root), self.plainmode).parent
1195 if not target:
1195 if not target:
1196 raise util.Abort(_("%s does not have a parent recorded" % root))
1196 raise util.Abort(
1197 _("%s does not have a parent recorded") % root)
1197 if not repo[target] == repo['.']:
1198 if not repo[target] == repo['.']:
1198 hg.update(repo, target)
1199 hg.update(repo, target)
1199
1200
@@ -2908,7 +2908,7 b' def heads(ui, repo, *branchrevs, **opts)'
2908 headless = ', '.join(b for b in branches - haveheads)
2908 headless = ', '.join(b for b in branches - haveheads)
2909 msg = _('no open branch heads found on branches %s')
2909 msg = _('no open branch heads found on branches %s')
2910 if opts.get('rev'):
2910 if opts.get('rev'):
2911 msg += _(' (started at %s)' % opts['rev'])
2911 msg += _(' (started at %s)') % opts['rev']
2912 ui.warn((msg + '\n') % headless)
2912 ui.warn((msg + '\n') % headless)
2913
2913
2914 if not heads:
2914 if not heads:
@@ -3001,7 +3001,7 b' def help_(ui, name=None, unknowncmd=Fals'
3001 msg = _('use "hg help" for the full list of commands '
3001 msg = _('use "hg help" for the full list of commands '
3002 'or "hg -v" for details')
3002 'or "hg -v" for details')
3003 elif name and not full:
3003 elif name and not full:
3004 msg = _('use "hg help %s" to show the full help text' % name)
3004 msg = _('use "hg help %s" to show the full help text') % name
3005 elif aliases:
3005 elif aliases:
3006 msg = _('use "hg -v help%s" to show builtin aliases and '
3006 msg = _('use "hg -v help%s" to show builtin aliases and '
3007 'global options') % (name and " " + name or "")
3007 'global options') % (name and " " + name or "")
@@ -4284,7 +4284,7 b' def postincoming(ui, repo, modheads, opt'
4284 try:
4284 try:
4285 ret = hg.update(repo, checkout)
4285 ret = hg.update(repo, checkout)
4286 except util.Abort, inst:
4286 except util.Abort, inst:
4287 ui.warn(_("not updating: %s\n" % str(inst)))
4287 ui.warn(_("not updating: %s\n") % str(inst))
4288 return 0
4288 return 0
4289 if not ret and not checkout:
4289 if not ret and not checkout:
4290 if bookmarks.update(repo, [movemarkfrom], repo['.'].node()):
4290 if bookmarks.update(repo, [movemarkfrom], repo['.'].node()):
@@ -209,9 +209,6 b''
209 > if os.path.exists(self.wjoin(lfutil.standin(lfile))):
209 > if os.path.exists(self.wjoin(lfutil.standin(lfile))):
210 warning: line over 80 characters
210 warning: line over 80 characters
211 hgext/mq.py:0:
211 hgext/mq.py:0:
212 > raise util.Abort(_("%s does not have a parent recorded" % root))
213 warning: line over 80 characters
214 hgext/mq.py:0:
215 > raise util.Abort(_("cannot push --exact with applied patches"))
212 > raise util.Abort(_("cannot push --exact with applied patches"))
216 warning: line over 80 characters
213 warning: line over 80 characters
217 hgext/mq.py:0:
214 hgext/mq.py:0:
General Comments 0
You need to be logged in to leave comments. Login now