https://github.com/jacobsvante/hg-checkfiles
Fork of marcusl's checkfiles extension for mercurial. Hooks for removing trailing whitespace and/or replacing tabs with spaces before committing (and more)
https://github.com/jacobsvante/hg-checkfiles
Last synced: about 1 year ago
JSON representation
Fork of marcusl's checkfiles extension for mercurial. Hooks for removing trailing whitespace and/or replacing tabs with spaces before committing (and more)
- Host: GitHub
- URL: https://github.com/jacobsvante/hg-checkfiles
- Owner: jacobsvante
- Created: 2012-10-07T17:47:42.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-10-07T18:45:06.000Z (over 13 years ago)
- Last Synced: 2025-02-09T00:37:47.533Z (over 1 year ago)
- Language: Python
- Homepage: http://mercurial.selenic.com/wiki/CheckFilesExtension
- Size: 156 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# checkfiles
hg checkfiles [options]
checks changed files in the working directory for tabs or trailing whitespace
--verbose shows the location of offending characters in each line
--quiet hides filenames and only reports summary information
--debug shows settings and details about each file considered for checking
If problems are found, the command returns 1, otherwise 0.
options:
-f --fixup fix files by replacing tabs and removing trailing whitespace
-t --tabsize set the tab length (default: 8 or checkfiles.tab_size)
use "hg -v help checkfiles" to show global options