- Use '/' key to quickly access this field.
- Enter a name of repository, or repository group for quick search.
- Prefix query to allow special search:
user:admin, to search for usernames, always global
user_group:devops, to search for user groups, always global
pr:303, to search for pull request number, title, or description, always global
commit:efced4, to search for commits, scoped to repositories or groups
file:models.py, to search for file paths, scoped to repositories or groups
For advanced full text search visit: repository search
Fixing subtle bug in expanduser(expandvars(path)) on Windows....
Fixing subtle bug in expanduser(expandvars(path)) on Windows.
On Windows, some paths can have the string $\ in them:
\\server\users$\%username%.
The "$" means it is a hidden share. Unfortunately, os.path.expandvars
turns that into:
\\server\users\%username% (it deletes the '$').
I have implemented a simple function (expand_path) that calls
os.expanduser and os.expandvars in a way that preserves th '$' on
Windows in this case.