Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #4169
Closed
Open
Created May 20, 2015 by Bitbucket Importer@bitbucket_importerOwner

"Detect renames" does not work in the same way as "hg addremove"

Created originally on Bitbucket by mskr

As a user, I would like the "detect renames" button to detect renames and to behave similarly to "hg addremove"

To setup:

hg init .
echo aaa > file.txt
hg commit -m "adding file"
mv file.txt renamed.txt

Actual behavior:
If I try to "detect renames", the behavior is different depending on the state of the files:

If renamed.txt is unversioned and file.txt is missing:
"detect renames" work as expected and detects the rename.

If renamed.txt is added, file.txt is removed
OR renamed.txt is added, file.txt is missing
OR renamed.txt is unversioned, file.txt is removed
"detect renames" does not detect the rename.

Expected behavior
is for "detect renames" to work the same as "hg addremove", which detects the rename in all of the different cases.

Affected versions: 3.3.3 - 3.4.+7

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking