If the target file was added in the working copy parent, it's much
more likely that the user meant to use --at-rev . (to record the
copy/rename in the that commit) than --force (to replace the
just-added file by another file).
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGc62e4397eb28: copy: recommend `--at-rev .` if target was added in parent commit
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
This looks good aside from the small comment I have.
mercurial/cmdutil.py | ||
---|---|---|
1681–1696 | Could you add an intermediate variable to make this easier to read? |
mercurial/cmdutil.py | ||
---|---|---|
1681–1696 | Makes sense, that expression was pretty long. |
Could you add an intermediate variable to make this easier to read?