comparison tests/test-convert-git.t @ 30927:8fa3ab6221b9

ui: rewrite configint in terms of configwith
author Bryan O'Sullivan <bryano@fb.com>
date Sun, 12 Feb 2017 21:44:55 -0800
parents c5bf2e8ec18c
children 642feee29d70
comparison
equal deleted inserted replaced
30926:120682fce099 30927:8fa3ab6221b9
328 $ commit -a -m 'rename and copy' 328 $ commit -a -m 'rename and copy'
329 $ cd .. 329 $ cd ..
330 330
331 input validation 331 input validation
332 $ hg convert --config convert.git.similarity=foo --datesort git-repo2 fullrepo 332 $ hg convert --config convert.git.similarity=foo --datesort git-repo2 fullrepo
333 abort: convert.git.similarity is not an integer ('foo') 333 abort: convert.git.similarity is not a valid integer ('foo')
334 [255] 334 [255]
335 $ hg convert --config convert.git.similarity=-1 --datesort git-repo2 fullrepo 335 $ hg convert --config convert.git.similarity=-1 --datesort git-repo2 fullrepo
336 abort: similarity must be between 0 and 100 336 abort: similarity must be between 0 and 100
337 [255] 337 [255]
338 $ hg convert --config convert.git.similarity=101 --datesort git-repo2 fullrepo 338 $ hg convert --config convert.git.similarity=101 --datesort git-repo2 fullrepo