tests/test-export.t
changeset 18956 1a9ad84583ee
parent 18648 76b69cccb07a
child 23172 e955549cd045
equal deleted inserted replaced
18955:f3245f22771c 18956:1a9ad84583ee
   146   ____________0123456789_______ABCDEFGHIJKLMNOPQRSTUVWXYZ______abcdefghijklmnopqrstuvwxyz____.patch
   146   ____________0123456789_______ABCDEFGHIJKLMNOPQRSTUVWXYZ______abcdefghijklmnopqrstuvwxyz____.patch
   147 
   147 
   148 Catch exporting unknown revisions (especially empty revsets, see issue3353)
   148 Catch exporting unknown revisions (especially empty revsets, see issue3353)
   149 
   149 
   150   $ hg export
   150   $ hg export
   151   abort: export requires at least one changeset
   151   # HG changeset patch
   152   [255]
   152   # User test
       
   153   # Date 0 0
       
   154   #      Thu Jan 01 00:00:00 1970 +0000
       
   155   # Node ID 197ecd81a57f760b54f34a58817ad5b04991fa47
       
   156   # Parent  f3acbafac161ec68f1598af38f794f28847ca5d3
       
   157    !"#$%&(,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
       
   158   
       
   159   diff -r f3acbafac161 -r 197ecd81a57f foo
       
   160   --- a/foo	Thu Jan 01 00:00:00 1970 +0000
       
   161   +++ b/foo	Thu Jan 01 00:00:00 1970 +0000
       
   162   @@ -10,3 +10,4 @@
       
   163    foo-9
       
   164    foo-10
       
   165    foo-11
       
   166   +line
       
   167 
   153   $ hg export ""
   168   $ hg export ""
   154   hg: parse error: empty query
   169   hg: parse error: empty query
   155   [255]
   170   [255]
   156   $ hg export 999
   171   $ hg export 999
   157   abort: unknown revision '999'!
   172   abort: unknown revision '999'!