Skip to content

Fork of marcusl's checkfiles extension for mercurial. Hooks for removing trailing whitespace and/or replacing tabs with spaces before committing (and more)

Notifications You must be signed in to change notification settings

jacobsvante/hg-checkfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Fork of marcusl's checkfiles extension for mercurial. Hooks for removing trailing whitespace and/or replacing tabs with spaces before committing (and more)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages