tests/test-inhibit.t
branchstable
changeset 1476 19c2405cb091
parent 1452 1bcbd14cf159
child 1477 6ab5c0f40699
child 1490 bc7eec65dfcf
equal deleted inserted replaced
1475:192bc96d0226 1476:19c2405cb091
   742   $ hg amend
   742   $ hg amend
   743   $ hg id
   743   $ hg id
   744   71eb4f100663 tip
   744   71eb4f100663 tip
   745 
   745 
   746 Hidden commits cannot be pushed without --hidden
   746 Hidden commits cannot be pushed without --hidden
   747   $ hg push -r 003a4735afde file://$pwd/inhibit2
   747   $ hg push -r 003a4735afde $pwd/inhibit2
   748   pushing to file://$TESTTMP/inhibit2
   748   pushing to $TESTTMP/inhibit2
   749   abort: hidden revision '003a4735afde'!
   749   abort: hidden revision '003a4735afde'!
   750   (use --hidden to access hidden revisions)
   750   (use --hidden to access hidden revisions)
   751   [255]
   751   [255]
   752 
   752 
   753 Visible commits can still be pushed
   753 Visible commits can still be pushed
   754   $ hg push -r 71eb4f100663 file://$pwd/inhibit2
   754   $ hg push -r 71eb4f100663 $pwd/inhibit2
   755   pushing to file://$TESTTMP/inhibit2
   755   pushing to $TESTTMP/inhibit2
   756   searching for changes
   756   searching for changes
   757   adding changesets
   757   adding changesets
   758   adding manifests
   758   adding manifests
   759   adding file changes
   759   adding file changes
   760   added 1 changesets with 1 changes to 1 files
   760   added 1 changesets with 1 changes to 1 files