Details
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
| hgext/strip.py | ||
|---|---|---|
| 218 | b'' is not required. | |
| hgext/strip.py | ||
|---|---|---|
| 218 | It's not, but we're going to eventually want to kill the module loader hack, and so I figured since I'm dirtying the line anyway I may as well b-prefix it. | |
| hgext/strip.py | ||
|---|---|---|
| 218 | That's a good idea. I will follow the same. | |
| hgext/strip.py | ||
|---|---|---|
| 218 | It should be repo.revs("%d::.", uctx.rev()) by the way. | |
| hgext/strip.py | ||
|---|---|---|
| 218 | I'm unclear: are you asking to remove the b-prefix? Adding it was intentional, since eventually we're going to need to rewrite everything so we can ditch the module loader hack. | |
| hgext/strip.py | ||
|---|---|---|
| 218 | No. I mean it should use revset.formatspec. i.e. revs(expr, arg) instead of revs(expr % arg). | |
| hgext/strip.py | ||
|---|---|---|
| 218 | Oh good catch, I'll insert another change to fix that in isolation. | |
b'' is not required.