tests/test-sharing.t
branchmercurial-4.7
changeset 5367 cb5983c0287f
parent 4971 9f69164cdc16
parent 5345 a73cdef2e33f
equal deleted inserted replaced
5283:02cc51ca6795 5367:cb5983c0287f
   518   $ HGEDITOR='sh ./editor.sh' HGMERGE=internal:other hg evolve --content-divergent
   518   $ HGEDITOR='sh ./editor.sh' HGMERGE=internal:other hg evolve --content-divergent
   519   merge:[5] fix bug 24 (v2 by bob)
   519   merge:[5] fix bug 24 (v2 by bob)
   520   with: [6] fix bug 24 (v2 by alice)
   520   with: [6] fix bug 24 (v2 by alice)
   521   base: [4] fix bug 24 (v1)
   521   base: [4] fix bug 24 (v1)
   522   0 files updated, 1 files merged, 0 files removed, 0 files unresolved
   522   0 files updated, 1 files merged, 0 files removed, 0 files unresolved
   523   working directory is now at aa824ceedb8b
   523   working directory is now at f92394e17e33
   524   $ hg log -q -r 'contentdivergent()'
   524   $ hg log -q -r 'contentdivergent()'
   525 
   525 
   526 Figure SG10: Bob's repository after fixing divergence.
   526 Figure SG10: Bob's repository after fixing divergence.
   527   $ hg --hidden shortlog -G -r 3::
   527   $ hg --hidden shortlog -G -r 3::
   528   @  7:aa82  draft  fix bug 24 (v2 by bob)
   528   @  7:f923  draft  fix bug 24 (v2 by bob)
   529   |
   529   |
   530   | x  6:e3a5  draft  fix bug 24 (v2 by alice)
   530   | x  6:e3a5  draft  fix bug 24 (v2 by alice)
   531   |/
   531   |/
   532   | x  5:541f  draft  fix bug 24 (v2 by bob)
   532   | x  5:541f  draft  fix bug 24 (v2 by bob)
   533   |/
   533   |/
   534   | x  4:b2be  draft  fix bug 24 (v1)
   534   | x  4:b2be  draft  fix bug 24 (v1)
   535   |/
   535   |/
   536   o  3:dd15  public  fix bug 15 (v2)
   536   o  3:dd15  public  fix bug 15 (v2)
   537   |
   537   |
   538   ~
   538   ~
   539   $ hg --hidden shortlog -r 'predecessors(aa82)'
   539   $ hg --hidden shortlog -r 'predecessors(.)'
   540   5:541f  draft  fix bug 24 (v2 by bob)
   540   5:541f  draft  fix bug 24 (v2 by bob)
   541   6:e3a5  draft  fix bug 24 (v2 by alice)
   541   6:e3a5  draft  fix bug 24 (v2 by alice)
   542   $ cat file1
   542   $ cat file1
   543   Do stuff.
   543   Do stuff.
   544   pretty good fix
   544   pretty good fix