Mercurial > hg
comparison tests/test-export.t @ 36239:428de1a59f2d
cmdutil: narrow scope of KeyError in makefilename()
It seemed too broad to catch a standard Python exception.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 07 Jan 2018 11:26:16 +0900 |
parents | 9d201b39ccd9 |
children | 165cf86365ff |
comparison
equal
deleted
inserted
replaced
36238:f574cc00831a | 36239:428de1a59f2d |
---|---|
184 $ hg commit -m " !\"#$%&(,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]"'^'"_\`abcdefghijklmnopqrstuvwxyz{|}~" | 184 $ hg commit -m " !\"#$%&(,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]"'^'"_\`abcdefghijklmnopqrstuvwxyz{|}~" |
185 $ hg export -v -o %m.patch tip | 185 $ hg export -v -o %m.patch tip |
186 exporting patch: | 186 exporting patch: |
187 ____________0123456789_______ABCDEFGHIJKLMNOPQRSTUVWXYZ______abcdefghijklmnopqrstuvwxyz____.patch | 187 ____________0123456789_______ABCDEFGHIJKLMNOPQRSTUVWXYZ______abcdefghijklmnopqrstuvwxyz____.patch |
188 | 188 |
189 Invalid pattern in file name: | |
190 | |
191 $ hg export -o '%x.patch' tip | |
192 abort: invalid format spec '%x' in output filename | |
193 [255] | |
194 | |
189 Catch exporting unknown revisions (especially empty revsets, see issue3353) | 195 Catch exporting unknown revisions (especially empty revsets, see issue3353) |
190 | 196 |
191 $ hg export | 197 $ hg export |
192 # HG changeset patch | 198 # HG changeset patch |
193 # User test | 199 # User test |