tests/test-revert.t
changeset 26969 b54b520a24c2
parent 26938 080276d377d9
child 28192 cb6a952efbf4
equal deleted inserted replaced
26968:216cc65cf227 26969:b54b520a24c2
    89 Test creation of backup (.orig) file in configured file location
    89 Test creation of backup (.orig) file in configured file location
    90 ----------------------------------------------------------------
    90 ----------------------------------------------------------------
    91 
    91 
    92   $ echo z > e
    92   $ echo z > e
    93   $ hg revert --all -v --config 'ui.origbackuppath=.hg/origbackups'
    93   $ hg revert --all -v --config 'ui.origbackuppath=.hg/origbackups'
    94   creating directory: $TESTTMP/repo/.hg/origbackups
    94   creating directory: $TESTTMP/repo/.hg/origbackups (glob)
    95   saving current version of e as $TESTTMP/repo/.hg/origbackups/e.orig
    95   saving current version of e as $TESTTMP/repo/.hg/origbackups/e.orig (glob)
    96   reverting e
    96   reverting e
    97   $ rm -rf .hg/origbackups
    97   $ rm -rf .hg/origbackups
    98 
    98 
    99 revert on clean file (no change)
    99 revert on clean file (no change)
   100 --------------------------------
   100 --------------------------------