##// END OF EJS Templates
cmdutil: strip "%m" pattern (first line of commit message) from both ends...
Yuya Nishihara -
r36525:165cf863 default
parent child Browse files
Show More
@@ -898,7 +898,7 b' def makefilename(ctx, pat,'
898 898 'R': lambda: '%d' % ctx.rev(),
899 899 'h': lambda: short(ctx.node()),
900 900 'm': lambda: re.sub('[^\w]', '_',
901 ctx.description().rstrip().splitlines()[0]),
901 ctx.description().strip().splitlines()[0]),
902 902 'r': lambda: ('%d' % ctx.rev()).zfill(revwidth or 0),
903 903 '%': lambda: '%',
904 904 'b': lambda: os.path.basename(ctx.repo().root),
@@ -184,7 +184,7 b' Checking if only alphanumeric characters'
184 184 $ hg commit -m " !\"#$%&(,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]"'^'"_\`abcdefghijklmnopqrstuvwxyz{|}~"
185 185 $ hg export -v -o %m.patch tip
186 186 exporting patch:
187 ____________0123456789_______ABCDEFGHIJKLMNOPQRSTUVWXYZ______abcdefghijklmnopqrstuvwxyz____.patch
187 ___________0123456789_______ABCDEFGHIJKLMNOPQRSTUVWXYZ______abcdefghijklmnopqrstuvwxyz____.patch
188 188
189 189 Invalid pattern in file name:
190 190
General Comments 0
You need to be logged in to leave comments. Login now