tests/test-subrepo-svn.t
branchstable
changeset 12798 3d6ba8c2b1b8
parent 12668 89e35377dbe8
child 12930 9bb180abc4d0
equal deleted inserted replaced
12797:076bbbf0ba86 12798:3d6ba8c2b1b8
    67   $ svn co --quiet "$SVNREPO"/src s
    67   $ svn co --quiet "$SVNREPO"/src s
    68   $ hg add .hgsub
    68   $ hg add .hgsub
    69   $ hg ci -m1
    69   $ hg ci -m1
    70   committing subrepository s
    70   committing subrepository s
    71 
    71 
       
    72 make sure we avoid empty commits (issue2445)
       
    73 
       
    74   $ hg sum
       
    75   parent: 1:* tip (glob)
       
    76    1
       
    77   branch: default
       
    78   commit: (clean)
       
    79   update: (current)
       
    80   $ hg ci -moops
       
    81   nothing changed
       
    82   [1]
       
    83 
    72 debugsub
    84 debugsub
    73 
    85 
    74   $ hg debugsub
    86   $ hg debugsub
    75   path s
    87   path s
    76    source   file://*/svn-repo/src (glob)
    88    source   file://*/svn-repo/src (glob)
    78 
    90 
    79 change file in svn and hg, commit
    91 change file in svn and hg, commit
    80 
    92 
    81   $ echo a >> a
    93   $ echo a >> a
    82   $ echo alpha >> s/alpha
    94   $ echo alpha >> s/alpha
       
    95   $ hg sum
       
    96   parent: 1:* tip (glob)
       
    97    1
       
    98   branch: default
       
    99   commit: 1 modified, 1 subrepos
       
   100   update: (current)
    83   $ hg commit -m 'Message!'
   101   $ hg commit -m 'Message!'
    84   committing subrepository s
   102   committing subrepository s
    85   Sending*s/alpha (glob)
   103   Sending*s/alpha (glob)
    86   Transmitting file data .
   104   Transmitting file data .
    87   Committed revision 3.
   105   Committed revision 3.