Code review comment for lp:~fullermd/bzr/revspec-dwim

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

I agree in principle with this and the code looks ok to me. There are 2 main concerns I have:

1. If something looks like a revno and isn't, I'd prefer that we raised an error in that case rather than continuing to look. The main issue here is tags like x.y.z I guess. I'd prefer we err'ed on the side of safety. It's not a big deal for projects to use a more explicit tag (like release-x.y.z) or for the user to type tag:x.y.z if they choose not to.

2. The time to look up a revision-id needs discussion. I'd prefer if it was done last. (If that's a performance issue, I'd prefer it was done immediately after revno but before the other specifiers.)

« Back to merge proposal