File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 25
25
help = 'Print the git hash value of a StGit reference'
26
26
kind = 'repo'
27
27
usage = ['[options] [--] [<id>]' ]
28
- description = """
28
+ description = r """
29
29
Print the SHA1 value of a Git id (defaulting to HEAD). In addition to the
30
30
standard Git id's like heads and tags, this command also accepts
31
31
'[<branch>:]<patch>' for the id of a patch, '[<branch>:]\{base\}' for the base
Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ def __get_signers_list(msg):
412
412
for line in msg .split ('\n ' ):
413
413
m = r .match (line )
414
414
if m :
415
- addr_list .append (m .expand ('\g<2>' ))
415
+ addr_list .append (m .expand (r '\g<2>' ))
416
416
417
417
return addr_list
418
418
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def util():
64
64
fun ('_stg_branches' ,
65
65
'local g=$(_gitdir)' , 'test "$g" && (cd $g/patches/ && echo *)' ),
66
66
fun ('_mail_aliases' ,
67
- 'git config --name-only --get-regexp "^mail\.alias\." | cut -d. -f 3' ),
67
+ 'git config --name-only --get-regexp "^mail\\ .alias\ \ ." | cut -d. -f 3' ),
68
68
ref_list_fun ('_all_branches' , 'refs/heads' ),
69
69
ref_list_fun ('_tags' , 'refs/tags' ),
70
70
ref_list_fun ('_remotes' , 'refs/remotes' )]
You can’t perform that action at this time.
0 commit comments