Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2008-03-23 16:30:31
Size: 968
Editor: abuehl
Comment: moved from TipsAndTricks/Basic
Revision 5 as of 2013-08-28 14:35:49
Size: 984
Editor: AugieFackler
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
{{{hg log}}} has a keyword search feature that scans [:Commit:commit] filenames, users, and descriptions: [[Cmd:log | hg log]] has a keyword search feature that scans [[Cmd:commit|commit]] filenames, users, and descriptions:
Line 23: Line 23:
Note: hgweb's search box will also scan for keywords, [:Tag:tags], [:Revision:revisions], or [:ChangeSetID:changeset IDs]. Note: hgweb's search box will also scan for keywords, [[Tag|tags]], [[Revision|revisions]], or [[ChangeSetID|changeset IDs]].

Search history for keywords

hg log has a keyword search feature that scans commit filenames, users, and descriptions:

$ hg log -k bug -k manifest.py
changeset: 2857:18cf5349a361
user: Alexis S. L. Carvalho <alexis@cecm.usp.br>
date: Sat Aug 12 08:53:23 2006 -0300
summary: Fix some bugs introduced during the manifest refactoring

changeset: 1650:f2ebd5251e88
user: Peter van Dijk <peter@dataloss.nl>
date: Sun Jan 29 00:18:52 2006 +0100
summary: changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames

changeset: 1451:54e4b187f69c
user: Matt Mackall <mpm@selenic.com>
date: Tue Oct 25 22:15:44 2005 -0700
summary: Remove old manifest diff code, it's now buggy

Note: hgweb's search box will also scan for keywords, tags, revisions, or changeset IDs.


CategoryTipsAndTricks

SearchHistoryForKeywords (last edited 2013-08-28 14:35:49 by AugieFackler)