tests/test-subrepo-svn.t
changeset 12640 6cc4b14fb76b
parent 12404 f33a5d1c937e
child 12668 89e35377dbe8
equal deleted inserted replaced
12639:236058a65cb4 12640:6cc4b14fb76b
    71 
    71 
    72 debugsub
    72 debugsub
    73 
    73 
    74   $ hg debugsub
    74   $ hg debugsub
    75   path s
    75   path s
    76    source   file:///*/svn-repo/src (glob)
    76    source   file://$TESTTMP/svn-repo/src
    77    revision 2
    77    revision 2
    78 
    78 
    79 change file in svn and hg, commit
    79 change file in svn and hg, commit
    80 
    80 
    81   $ echo a >> a
    81   $ echo a >> a
    84   committing subrepository s
    84   committing subrepository s
    85   Sending*s/alpha (glob)
    85   Sending*s/alpha (glob)
    86   Transmitting file data .
    86   Transmitting file data .
    87   Committed revision 3.
    87   Committed revision 3.
    88   
    88   
    89   Fetching external item into '*/s/externals' (glob)
    89   Fetching external item into '$TESTTMP/sub/t/s/externals'
    90   External at revision 1.
    90   External at revision 1.
    91   
    91   
    92   At revision 3.
    92   At revision 3.
    93   $ hg debugsub
    93   $ hg debugsub
    94   path s
    94   path s
    95    source   file:///*/svn-repo/src (glob)
    95    source   file://$TESTTMP/svn-repo/src
    96    revision 3
    96    revision 3
    97 
    97 
    98   $ echo a > s/a
    98   $ echo a > s/a
    99 
    99 
   100 should be empty despite change to s/a
   100 should be empty despite change to s/a
   190 
   190 
   191 debugsub in clone
   191 debugsub in clone
   192 
   192 
   193   $ hg debugsub
   193   $ hg debugsub
   194   path s
   194   path s
   195    source   file:///*/svn-repo/src (glob)
   195    source   file://$TESTTMP/svn-repo/src
   196    revision 3
   196    revision 3
   197 
   197 
   198 verify subrepo is contained within the repo directory
   198 verify subrepo is contained within the repo directory
   199 
   199 
   200   $ python -c "import os.path; print os.path.exists('s')"
   200   $ python -c "import os.path; print os.path.exists('s')"