bzr-grep

Bazaar plugin to grep files
Download

bzr-grep Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Parth Malwankar
  • Publisher web site:
  • https://launchpad.net/~parthm

bzr-grep Tags


bzr-grep Description

Bazaar plugin to grep files bzr-grep is a plugin for Bazaar to print lines matching PATTERN for specified files and revisions.Usage: bzr grep PATTERN Options: --from-root Search for pattern starting from the root of the branch. (implies --recursive) -Z, --null Write an ASCII NUL (\0) separator between output lines rather than a newline. -v, --verbose Display more information. -h, --help Show help message. -q, --quiet Only display errors and warnings. -i, --ignore-case ignore case distinctions while matching. --levels=N Number of levels to display - 0 for all, 1 for collapsed (1 is default). -I GLOB, --include=GLOB Search only files whose base name matches GLOB. --usage Show usage message and options. -X GLOB, --exclude=GLOB Skip files whose base name matches GLOB. --no-recursive Don't recurse into subdirectories. (default is --recursive) -n, --line-number show 1-based line number. -r ARG, --revision=ARG See "help revisionspec" for details.This command searches the specified files and revisions for a given pattern. The pattern is specified as a Python regular expressions.If the file name is not specified, the revisions starting with the current directory are searched recursively. If the revision number is not specified, the working copy is searched. To search the last committed revision, use the '-r -1' or '-r last:1' option.Unversioned files are not searched unless explicitly specified on the command-line. Unversioned directores are not searched.When searching a pattern, the output is shown in the 'filepath:string' format. If a revision is explicitly searched, the output is shown as 'filepath~N:string', where N is the revision number.--include and --exclude options can be used to search only (or exclude from search) files with base name matches the specified Unix style GLOB pattern. The GLOB pattern an use *, ?, and as wildcards, and \ to quote wildcard or backslash character literally. Note that the glob pattern is not a regular expression. http://docs.python.org/library/re.html#regular-expression-syntax Requirements: · Bazaar Revision Control System · Python What's New in This Release: · --recursive is now default. (Parth Malwankar, #536688) · ``bzr grep`` searches working copy by default. (Parth Malwankar, #537072) · --include/exclude=GLOB is now supported. (Parth Malwankar, #529889)


bzr-grep Related Software