I thought I understood status and revert, but the following experience makes me question if I am missing something. 

 

I attempted a merge from one branch of our development environment and based on "svn status" after the merge, I had gotten some unexpected results, so I used "svn revert . --recursive"  to back out the entire merge. This command reverted a boatload of files that didn’t show up

in "svn status" moments earlier.  

 

That doesn’t make sense to me.   My understanding is that “svn status” shows all uncommitted changes in the working copy and “svn revert” reverts the uncommitted changes in the working copy by replacing them with the latest revision from the related repository. 

 

In the scenario below, the base directory of the working copy for the ‘delta’ branch of my repository is “/u/delta/cm/40” and that is the current working directory when this set of commands are executed (as you can see in a couple of ‘pwd’ command outputs).

 

todd@monolith # svn status

M      .

M       accountservice/account/guimain.p

M       accountservice/billing/guimain.p

M       accountservice/include/showphone.i

M       accountservice/lib/guimain.p

M       accountservice/wizard/add/guiwizard.p

M      insight/export

M       occupant/assign.i

M       occupant/display.i

M       occupant/occupant.f

A  +    reports/aam/include/accessconstants.i

A  +    reports/aam/include/dgtlsubs.i

 

todd@monolith # pwd

/u/delta/cm/40

 

todd@monolith # svn revert . --recursive Reverted '.'

Reverted 'renewals/print.p'

Reverted 'renewals/undo/guirenewalundo.p'

Reverted 'renewals/undo/renewalundo.i'

Reverted 'renewals/undo/layout.p'

Reverted 'renewals/undo/skip.i'

Reverted 'renewals/autorenew/checkpolicy.i'

Reverted 'renewals/checkpolicy.i'

Reverted 'renewals/ebillbatch/layout.p'

Reverted 'renewals/ebillbatch/guiebillbatch.p'

Reverted 'renewals/printupdate.p'

Reverted 'tools/makedraw/checkroute.i'

Reverted 'query/deliverysche.p'

Reverted 'query/schedule.i'

Reverted 'query/ebillbatch.p'

Reverted 'insight/export'

Reverted 'Install/load/proto/setupsec.p'

Reverted 'Install/40a/postsync/allowdaypass.p'

Reverted 'Install/40a/postsync/main.p'

Reverted 'Install/40a/postsync/include/contants.i'

Reverted 'Install/40a/postsync/include/sysvar.i'

Reverted 'Install/40a/presync/main.p'

Reverted 'Install/40a/presync/policydel.p'

Reverted 'Install/40a/presync/updmenuitem.p'

Reverted 'Install/40a/presync/menureseq39.p'

Reverted 'occupant/display.i'

Reverted 'occupant/occupant.f'

Reverted 'occupant/assign.i'

Reverted 'pdfinclude/testtexttopdf.p'

Reverted 'pdfinclude/oldtexttopdf.p'

Reverted 'include/valpullwhere.i'

Reverted 'include/campaign/valcampaign.i'

Reverted 'include/java/progframe/fillchoice.i'

Reverted 'include/balance.i'

Reverted 'include/validate/valid.i'

Reverted 'include/gui/upddelivsch.i'

Reverted 'include/gui/delivschedck.i'

Reverted 'include/edit/completestar.i'

Reverted 'include/edit/complete.i'

Reverted 'include/fix/addmenu.i'

Reverted 'setup/campaign/campaign.f'

Reverted 'setup/publicat/allowprevdel.p'

Reverted 'setup/publicat/daypass.p'

Reverted 'setup/combo/valtaxproductid.i'

Reverted 'setup/combo/valtaxdistribmeth.i'

Reverted 'setup/delivsch/keyprompt.i'

Reverted 'accountservice/billing/guimain.p'

Reverted 'accountservice/lib/guimain.p'

Reverted 'accountservice/include/showphone.i'

Reverted 'accountservice/account/guimain.p'

Reverted 'accountservice/wizard/add/guiwizard.p'

Reverted 'cmshare/adplus/getcampaign.p'

Reverted 'cmshare/subscriber/getdelivinfo.p'

Reverted 'cmshare/subscriber/getloginsub.p'

Reverted 'cmshare/daypass/createdaypass.p'

Reverted 'cmshare/daypass/paramtest.i'

Reverted 'cmshare/daypass/createdaypassvar.i'

Reverted 'cmshare/daypass/password.i'

Reverted 'cmshare/daypass/pymtaccept.i'

Reverted 'cmshare/daypass/authorize.i'

Reverted 'cmshare/daypass/testdaypass.p'

Reverted 'cmshare/daypass/dfltrate.p'

Reverted 'cmshare/daypass/dfltpymtamt.p'

Reverted 'cmshare/daypass/createpymtbatch.i'

Reverted 'cmshare/daypass/sendpassword.p'

Reverted 'cmshare/daypass/createdaypasstables.i'

Reverted 'cmshare/daypass/usageaccept.i'

Reverted 'cmshare/daypass/ttsubtaxauthority.i'

Reverted 'rating/subscription/makedeal/roundcombotax.i'

Reverted 'reports/aam/include/accessconstants.i'

Reverted 'reports/aam/include/dgtlsubs.i'

Reverted 'reports/aam/dgtlsubaudit/var.i'

Reverted 'reports/aam/dgtlsubaudit/createtemp.i'

Reverted 'reports/aam/dgtlsubaudit/valedittype.i'

Reverted 'reports/aam/dgtlsubaudit/dgtlsubaudit.i'

Reverted 'reports/aam/dgtlsubaudit/input.f'

Reverted 'reports/aam/dgtlsubaudit/valedition.i'

Reverted 'reports/aam/dgtlsubaudit/write.p'

Reverted 'reports/aam/dgtlsubaudit/valdrawtype.i'

Reverted 'reports/aam/dgtlsubaudit/guiprocs.p'

Reverted 'reports/aam/dgtlsubaudit/dgtlsubaudit.p'

Reverted 'reports/aam/dgtlsubaudit/valauditdate.i'

Reverted 'reports/aam/dgtlsubaudit/guidgtlsubaudit.p'

Reverted 'reports/aam/dgtlsubaudit/inputvar.i'

Reverted 'reports/aam/dgtlsubaudit/subaudit.f'

Reverted 'reports/aam/dgtlsubaudit/read.p'

Reverted 'reports/aam/dgtlsubaudit/printrpt.i'

Reverted 'reports/aam/dgtlsubaudit/valproduct.i'

Reverted 'reports/aam/dgtlsubaudit/assign.i'

Reverted 'reports/aam/dgtlanalysis/prtdetail.i'

Reverted 'reports/aam/dgtlanalysis/var.i'

Reverted 'reports/aam/dgtlanalysis/prtdaytot.i'

Reverted 'reports/aam/dgtlanalysis/prtprodsumm.i'

Reverted 'reports/aam/dgtlanalysis/buildwf.i'

Reverted 'reports/aam/dgtlanalysis/write.p'

Reverted 'reports/aam/dgtlanalysis/valdrawtype.i'

Reverted 'reports/aam/dgtlanalysis/rptbyzone.p'

Reverted 'reports/aam/dgtlanalysis/sumdayamt.i'

Reverted 'reports/aam/dgtlanalysis/prtzoneedit.i'

Reverted 'reports/aam/dgtlanalysis/inputvar.i'

Reverted 'reports/aam/dgtlanalysis/prtedtntypetot.i'

Reverted 'reports/aam/dgtlanalysis/guidgtlanalysis.p'

Reverted 'reports/aam/dgtlanalysis/prtedittypeavg.i'

Reverted 'reports/aam/dgtlanalysis/prtedtnhdr.i'

Reverted 'reports/aam/dgtlanalysis/prtaccesstotals.i'

Reverted 'reports/aam/dgtlanalysis/prtedtntypeavg.i'

Reverted 'reports/aam/dgtlanalysis/read.p'

Reverted 'reports/aam/dgtlanalysis/rptbyzoneaccess.p'

Reverted 'reports/aam/dgtlanalysis/prtdetailhdr.i'

Reverted 'reports/aam/dgtlanalysis/rptbyaccess.p'

Reverted 'reports/aam/dgtlanalysis/createtemp.i'

Reverted 'reports/aam/dgtlanalysis/valedittype.i'

Reverted 'reports/aam/dgtlanalysis/addproddraw.i'

Reverted 'reports/aam/dgtlanalysis/input.f'

Reverted 'reports/aam/dgtlanalysis/valweekday.i'

Reverted 'reports/aam/dgtlanalysis/dgtlanalysis.i'

Reverted 'reports/aam/dgtlanalysis/valedition.i'

Reverted 'reports/aam/dgtlanalysis/valstartdate.i'

Reverted 'reports/aam/dgtlanalysis/prtzonehdr.i'

Reverted 'reports/aam/dgtlanalysis/prtnonerecap.i'

Reverted 'reports/aam/dgtlanalysis/guiprocs.p'

Reverted 'reports/aam/dgtlanalysis/prtzonesumm.i'

Reverted 'reports/aam/dgtlanalysis/dgtlanalysis.p'

Reverted 'reports/aam/dgtlanalysis/valenddate.i'

Reverted 'reports/aam/dgtlanalysis/analysis.f'

Reverted 'reports/aam/dgtlanalysis/report.p'

Reverted 'reports/aam/dgtlanalysis/prtsubtotal.i'

Reverted 'reports/aam/dgtlanalysis/valproduct.i'

Reverted 'reports/aam/dgtlanalysis/prtedtntypesumm.i'

Reverted 'reports/aam/dgtlanalysis/assign.i'

Reverted 'reports/aam/dgtlanalysis/prtaccesshdr.i'

Reverted 'reports/subscr/prediction/process.i'

Reverted 'reports/mgmt/unearn/include/var.i'

Reverted 'reports/mgmt/unearn/include/pending.i'

Reverted 'reports/mgmt/unearn/include/usage.i'

Reverted 'reports/mgmt/unearn/include/loadtran.i'

Reverted 'reports/mgmt/unearn/include/sunearned.i'

Reverted 'reports/mgmt/unearn/include/creategl.i'

Reverted 'custservice/contacttab/guimain.p'

Reverted 'custservice/refund/refundvar.i'

Reverted 'custservice/refund/data.i'

Reverted 'custservice/refund/reject.i'

Reverted 'custservice/refund/valrefundtype.i'

Reverted 'custservice/refund/newrefund.i'

Reverted 'custservice/refund/createrefund.i'

Reverted 'custservice/refund/autoextend.p'

Reverted 'custservice/refund/addmodify.i'

Reverted 'custservice/refund/valproductid.i'

Reverted 'custservice/refund/valv-subid.i'

Reverted 'custservice/transfer/valproductid.i'

Reverted 'custservice/complaint/complaint.f'

Reverted 'custservice/complaint/guiaddformal.p'

Reverted 'custservice/refundwo/valproductid.i'

Reverted 'custservice/driver/getsublist.p'

Reverted 'custservice/driver/show/availrates/var.i'

Reverted 'custservice/driver/show/availrates/subscriber.p'

Reverted 'custservice/driver/show/availrates/buildrates.i'

Reverted 'custservice/driver/show/rates/guirates.p'

Reverted 'custservice/driver/show/rates/guirating.p'

Reverted 'custservice/driver/show/rates/guirateterm.p'

Reverted 'custservice/driver/show/rates/guihelp.p'

Reverted 'custservice/driver/show/rates/layout.i'

Reverted 'custservice/messages/guiview.p'

Reverted 'custservice/gui/enablebuttons.i'

Reverted 'custservice/gui/display.i'

Reverted 'custservice/gui/main.i'

Reverted 'custservice/contact/guicontact.p'

Reverted 'custservice/start/guiadd.p'

Reverted 'custservice/start/checkpubl.i'

Reverted 'lib/setdebug.p'

Reverted 'lib/crglacct/buildcache.p'

Reverted 'lib/applhelp.p'

Reverted 'lib/applhelp/helpvar.i'

Reverted 'lib/applhelp/scanchar1.i'

Reverted 'lib/applhelp/scanchar2.i'

Reverted 'lib/applhelp/dbhelp.p'

Reverted 'fix/6044fx.p'

Reverted 'fix/6066fx.p'

Reverted 'fix/5905fx.p'

Reverted 'ar/returnimport/policy.i'

Reverted 'utilities/subsaddr/bonusadjust/guibonusadjust.p'

Reverted 'process/tran/payment/wrcomments.i'

Reverted 'process/tran/payment/createavailrefund.i'

 

todd@monolith # pwd

/u/delta/cm/40

 

todd@monolith # svn status

 

todd@monolith

 

 

 

--
Todd Armstrong / Senior Software Engineer
o: 651.639.0662 / m: 651.325.7068 / d: 651.639.2737

NEWSCYCLE Solutions

 

GLOBAL Perspective.  UNIFIED Platform.  UNLIMITED Possibilities.

 

www.newscyclesolutions.com