Conflicts during "svn update" from Windows command line -


i'm using visualsvn server back-end svn server (if matters).

below 2 sets of commands. first set creates folder , checks out folder in svn newly created windows folder. second set (single command) giving conflict error, not know why. i'm trying sparse checkout , check out 2 folders. ideally files under 2 folders in addition (--set-depth immediates), have not gotten far. looked @ using tortoseproc.exe, api not provide sufficient commands read. if know how resolve issue using svn commands, let me know. i've tried several different variations of svn checkout, svn update, svn up, , combination thereof.

the folder created, , .svn folder created in _test folder in windows. i've verified 1st set of commands.

1st set of commands:

k: cd "k:\projects\prj-71\" mkdir "_test" svn checkout --depth empty "https://example.com:8443/svn/docs/objects/trunk/" "_test" 

2nd set of commands:

k:\projects\prj-71>svn update --set-depth empty _test/nz/f_corporation_size k:\projects\prj-71>svn update --set-depth empty _test/nz/f_coverage_member 

2nd set of commands (errored on 1st command):

k:\projects\prj-71>svn update --set-depth empty _test/nz/f_corporation_size  skipped '\_test\nz\f_corporation_size' summary of conflicts:   skipped paths: 1 

edit (comment request):

enter image description here

you're getting error because nz doesn't exist yet - there's nothing there to update in first place. there 2 ways fix this:

  1. tell svn update create necessary parent directories:

    svn update --set-depth empty --parents _test/nz/f_corporation_size

  2. do in steps, 1 per directory level

    svn update --set-depth empty _test/nz
    svn update --set-depth empty _test/nz/f_corporation_size
    svn update --set-depth empty _test/nz/f_coverage_member


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -