equal
deleted
inserted
replaced
3 from mercurial.i18n import _ |
3 from mercurial.i18n import _ |
4 from mercurial import util |
4 from mercurial import util |
5 import re |
5 import re |
6 |
6 |
7 def expandkw(ui, repo, rev, cid, candidates, update=False): |
7 def expandkw(ui, repo, rev, cid, candidates, update=False): |
8 '''Important: returns False on success, True on failure.''' |
8 '''Expands logged <Dollar>Hg<Dollar> in working directory.''' |
9 |
9 |
10 # name of keyword encode filter: |
10 # name of keyword encode filter: |
11 kwencodefilter = 'hgkwencode' |
11 kwencodefilter = 'hgkwencode' |
12 |
12 |
13 # update only needs string search for encoded keyword |
13 # update only needs string search for encoded keyword |