Show More
@@ -2010,13 +2010,13 b' def debugrebuildfncache(ui, repo):' | |||||
2010 |
|
2010 | |||
2011 | @command('debugrename', |
|
2011 | @command('debugrename', | |
2012 | [('r', 'rev', '', _('revision to debug'), _('REV'))], |
|
2012 | [('r', 'rev', '', _('revision to debug'), _('REV'))], | |
2013 | _('[-r REV] FILE')) |
|
2013 | _('[-r REV] [FILE]...')) | |
2014 |
def debugrename(ui, repo |
|
2014 | def debugrename(ui, repo, *pats, **opts): | |
2015 | """dump rename information""" |
|
2015 | """dump rename information""" | |
2016 |
|
2016 | |||
2017 | opts = pycompat.byteskwargs(opts) |
|
2017 | opts = pycompat.byteskwargs(opts) | |
2018 | ctx = scmutil.revsingle(repo, opts.get('rev')) |
|
2018 | ctx = scmutil.revsingle(repo, opts.get('rev')) | |
2019 |
m = scmutil.match(ctx, |
|
2019 | m = scmutil.match(ctx, pats, opts) | |
2020 | for abs in ctx.walk(m): |
|
2020 | for abs in ctx.walk(m): | |
2021 | fctx = ctx[abs] |
|
2021 | fctx = ctx[abs] | |
2022 | o = fctx.filelog().renamed(fctx.filenode()) |
|
2022 | o = fctx.filelog().renamed(fctx.filenode()) |
General Comments 0
You need to be logged in to leave comments.
Login now