Changes between Version 58 and Version 59 of Developers/SVN_QuickReference
- Timestamp:
- 2018-11-12T00:01:03+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developers/SVN_QuickReference
v58 v59 26 26 {{{#!td 27 27 == Working copy 28 28 29 {{{#!sh 29 30 ## Download a working copy … … 37 38 svn {ci,commit} --include-externals ... ## Append externals 38 39 }}} 40 39 41 == Items 42 40 43 {{{#!sh 41 44 ## Common cmds … … 50 53 svn mkdir {${URL},${WCPATH}} 51 54 55 ## Apply edits from diff file 56 svn patch ${DIFF} [${WCPATH}] ## SVN version > 1.7 57 52 58 ## Infos 53 59 svn log {${URL},${WCPATH}}[@${REV}] ## List commit messages 54 svn info {${URL},${WCPATH}}[@${REV}] ## Detailed60 svn info {${URL},${WCPATH}}[@${REV}] ## Metadata of working copy 55 61 56 62 ## In case of trouble … … 61 67 {{{#!td 62 68 == Properties 69 63 70 http://svnbook.red-bean.com/en/1.7/svn.ref.properties.html 71 64 72 {{{#!sh 65 ## {proplist,plist} 66 ## {propset,pset} 67 ## {propedit,pedit} 68 ## {propdel,pdel} 73 ## Sub-cmds for managing properties 74 ## {propdel,pdel} / {propset,pset} 75 ## {propedit,pedit} / {proplist,plist} 69 76 70 77 ## 'svn:keywords Id': record commit infos in routine … … 74 81 svn {propset,pset} svn:executable on ${WCPATH} 75 82 76 ## 'svn:externals': defining external sources 83 ## 'svn:externals': defining external sources for items 77 84 ## - Single external 78 85 svn {propset,pset} svn:externals ${URL}[@${REV}] ${WCPATH} … … 80 87 svn {propset,pedit} svn:externals ${WCPATH} 81 88 }}} 89 82 90 == Branching 91 83 92 {{{#!sh 84 93 ## Create a branch (copying) … … 86 95 87 96 ## Merging sources 88 svn merge {${URL1},${WCPATH1}}[@${REV1}] [{${URL1},${WCPATH2}}[@${REV2}]] [${WCPATH}] 97 svn merge {${URL1},${WCPATH1}}[@${REV1}] \ 98 [{${URL1},${WCPATH2}}[@${REV2}]] \ 99 ([${WCPATH}] 89 100 90 ## Update WCto a new URL91 ## - Mirror a different branch $i.e$ traversing branch in the same repository (__hazardous!! __)101 ## Update to a new URL 102 ## - Mirror a traversing branch (hazardous!!) 92 103 svn switch ${URL}[@${REV}] [${WCPATH}] 93 ## - Relocate to a different URL $i.e$ keep the same branch but move to a new server orURL scheme94 svn switch --relocate ${URL1} ${URL2} 95 svn relocate ${URL1} ${URL2} 104 ## - Relocate to a new server or different URL scheme 105 svn switch --relocate ${URL1} ${URL2} ## SVN version < 1.7 106 svn relocate ${URL1} ${URL2} ## SVN version > 1.7 96 107 }}} 97 108 }}}