This vendors backups extension from hg-experimental.
Listing backups and having some utility to apply them is nice. I know we have
obsmarkers now, but this will help a lot of end users who still uses strip until
we get evolve out of experimental.
This vendors backups extension from hg-experimental.
Listing backups and having some utility to apply them is nice. I know we have
obsmarkers now, but this will help a lot of end users who still uses strip until
we get evolve out of experimental.
No Linters Available |
No Unit Test Coverage |
I know this has already been queue and I'm just slow, but could you send follow-up patches to address my comments?
mercurial/debugcommands.py | ||
---|---|---|
3437 | Do we really want to support all of these? (FYI, they include --stat, --graph, --style, --patch, and a few more.) | |
3453 | I think Windows doesn't care much about / vs \, but should we ideally use os.path.join(..., ".hg") here? | |
3457 | Clearer to pass bundlename="" in the call to getremotechanges()? | |
3458 | Clearer to pass force=None (or False?) in the call to getremotechanges()? | |
3462 | Always false, so delete it? | |
3539–3549 | Perhaps the template here should apply at the bundle level instead of the changeset level, so the user can also template the date (and maybe bundle name). | |
3549 | heh, status.modified seems like quite an abuse of the labeling system (I assume it was picked because the author thought that the color they had configured for that looked good in this context too). Could you switch to a different label? | |
3551 | Does False (for the differ argument) produce different output than the default (None) would? If not, remove the False? If it does, could you pass it as a keyword argument instead (differ=False)? |
mercurial/debugcommands.py | ||
---|---|---|
3453 | I thought we were trying to avoid os.path, so maybe just repo.vfs.join("strip-backup", ".hg")? (And don't these need to be b'' prefixed for py3?) |
mercurial/debugcommands.py | ||
---|---|---|
3453 | +1 on using vfs here, this is the abstraction we use everywhere else. |
Do we really want to support all of these? (FYI, they include --stat, --graph, --style, --patch, and a few more.)