equal
deleted
inserted
replaced
899 arch_version = short(cnode) |
899 arch_version = short(cnode) |
900 name = "%s-%s" % (reponame, arch_version) |
900 name = "%s-%s" % (reponame, arch_version) |
901 |
901 |
902 ctx = webutil.changectx(web.repo, req) |
902 ctx = webutil.changectx(web.repo, req) |
903 pats = [] |
903 pats = [] |
904 matchfn = None |
904 matchfn = scmutil.match(ctx, []) |
905 file = req.form.get('file', None) |
905 file = req.form.get('file', None) |
906 if file: |
906 if file: |
907 pats = ['path:' + file[0]] |
907 pats = ['path:' + file[0]] |
908 matchfn = scmutil.match(ctx, pats, default='path') |
908 matchfn = scmutil.match(ctx, pats, default='path') |
909 if pats: |
909 if pats: |