GNU bug report logs -
#79024
31.0.50; Multiple working trees support for VC
Previous Next
Reported by: Sean Whitton <spwhitton <at> spwhitton.name>
Date: Tue, 15 Jul 2025 11:51:02 UTC
Severity: normal
Merged with 79104
Found in version 31.0.50
Done: Sean Whitton <spwhitton <at> spwhitton.name>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 79024 <at> debbugs.gnu.org (full text, mbox):
Hello,
On Wed 23 Jul 2025 at 01:08pm -04, Spencer Baugh via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:
> IMO it would be fine to just look this up each time.
>
> The predicate passed to project-prompter would take the root directory
> of the project and decide whether that should be included in the prompt;
> and for hg shares, that would just be looking at .hg/sharedpath and
> checking if it has the right contents. I think that one filesystem
> access is an acceptable cost, I don't think Emacs will need to maintain
> records of its own beyond the existing project--list.
Hmm, well, vc-hg-other-working-trees has to look at every registered
project and decide if it is a related working tree; it has to be do this
independently of project-prompter or any of that machinery. But there
could be a very large number of registered projects, and there'd be a
file access for each one.
--
Sean Whitton
This bug report was last modified 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.