[Bug 6823] New: behavior of 'locate' changed
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Tue Jun 20 09:54:31 UTC 2023
https://bz.mercurial-scm.org/show_bug.cgi?id=6823
Bug ID: 6823
Summary: behavior of 'locate' changed
Product: Mercurial
Version: unspecified
Hardware: PC
OS: All
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: jaraco at jaraco.com
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
Consider these steps:
```
hg init foo
cd foo
mkdir bar
touch bar/baz
hg commit -Am baz
cd bar
hg locate -I .
```
On Mercurial 6.1.1, it emits:
```
bar/baz
```
On Mercurial 6.4, it emits:
```
baz
```
This leads to inconsistencies and [this
bug](https://github.com/jaraco/hgtools/issues/34).
I searched the changelogs for Mercurial 6.2, 6.3, and 6.4, but there's no
mention of 'locate'. Was this change in behavior intentional?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list