`hg status -u` reports no unknown files. However, if I create a repository object in python and call `repo.status(unknown=True)`, all largefiles in the repository are listed in the unknown files list. I am using the debugshell extension in order to quickly access my repository in a python shell.
Degrading to wish: you're way into unsupported country.
Largefiles does so much wrapping and filtering before what the user sees in the hg ui in order to provide accurate output, I can't imagine trying to support something like what's described here. Not to say it is absolutely impossible or will necessarily never happen, but certainly it's not on my roadmap...
Yikes. Ok, good to know. Well, as a workaround, is there a way to query whether or not a file name is a largefile?
> Well, as a workaround, is there a way to query whether or not a file name > is a largefile? Open the largefiles dirstate and test if the filename is in it? (Random, off-the-top-of-my-head, completely untested, no idea if it'll work, etc.)
Yes, in the code, checking if the file is in the lfdirstate is the most common way; you can also check if the hash for the file exists in the main repo inside the .hglf directory.
For anyone else looking for the same information, I found that `lfutil.listlfiles(repo)` will return the list of largefiles, which is a little easier than opening the largefiles dirstate.
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:30 EDT --- This bug was previously known as _bug_ 3416 at http://mercurial.selenic.com/bts/issue3416