tests/test-convert.t
changeset 17002 0eb522625eb2
parent 16986 79902f7e27df
child 17251 98166640b356
equal deleted inserted replaced
17001:88f650208c32 17002:0eb522625eb2
   394 test bogus URL
   394 test bogus URL
   395 
   395 
   396   $ hg convert -q bzr+ssh://foobar@selenic.com/baz baz
   396   $ hg convert -q bzr+ssh://foobar@selenic.com/baz baz
   397   abort: bzr+ssh://foobar@selenic.com/baz: missing or unsupported repository
   397   abort: bzr+ssh://foobar@selenic.com/baz: missing or unsupported repository
   398   [255]
   398   [255]
       
   399 
       
   400 test revset converted() lookup
       
   401 
       
   402   $ hg --config convert.hg.saverev=True convert a c  
       
   403   initializing destination c repository
       
   404   scanning source...
       
   405   sorting...
       
   406   converting...
       
   407   4 a
       
   408   3 b
       
   409   2 c
       
   410   1 d
       
   411   0 e
       
   412   $ echo f > c/f
       
   413   $ hg -R c ci -d'0 0' -Amf
       
   414   adding f
       
   415   created new head
       
   416   $ hg -R c log -r "converted(09d945a62ce6)"
       
   417   changeset:   1:98c3dd46a874
       
   418   user:        test
       
   419   date:        Thu Jan 01 00:00:01 1970 +0000
       
   420   summary:     b
       
   421   
       
   422   $ hg -R c log -r "converted()"
       
   423   changeset:   0:31ed57b2037c
       
   424   user:        test
       
   425   date:        Thu Jan 01 00:00:00 1970 +0000
       
   426   summary:     a
       
   427   
       
   428   changeset:   1:98c3dd46a874
       
   429   user:        test
       
   430   date:        Thu Jan 01 00:00:01 1970 +0000
       
   431   summary:     b
       
   432   
       
   433   changeset:   2:3b9ca06ef716
       
   434   user:        test
       
   435   date:        Thu Jan 01 00:00:02 1970 +0000
       
   436   summary:     c
       
   437   
       
   438   changeset:   3:4e0debd37cf2
       
   439   user:        test
       
   440   date:        Thu Jan 01 00:00:03 1970 +0000
       
   441   summary:     d
       
   442   
       
   443   changeset:   4:9de3bc9349c5
       
   444   user:        test
       
   445   date:        Thu Jan 01 00:00:04 1970 +0000
       
   446   summary:     e
       
   447