Results 1 to 4 of 4

Thread: SVN via commandline

  1. #1

    SVN via commandline

    Hallo hallo,

    Het lukt me niet om het volgende SVN commando uit te voeren via de commandline:
    Code:
    svn copy -m 'Test Revision 3 = Build 3.12.0.1' file:///E:/SVN-TEST/trunk  file:///E:/SVN-TEST/tags/Build-3.15.0.4590145
    Via Powershell lukt het me wel, maar ik begrijp niet waarom het via powershell wel lukt en de commandline niet

    De foutmelding die ik krijg is: svn: E200007: Cannot mix repository and working copy sources

    Iemand een suggestie in welke hoek ik dit moet zoeken?

    p.s. Ik ben niet heel erg bekend met commandline en batch scripting dus het kan zijn dat ik iets simpels over het hoofd zie.

  2. #2
    mov rax,marcov; push rax marcov's Avatar
    Join Date
    Apr 2004
    Location
    Ehv, Nl
    Posts
    10,357
    Enige wat ik kan bedenken: de werkdirectory doet er soms ook toe. Als die anders was bij powershell dan bij cmd...

  3. #3
    Fornicatorus Formicidae VideoRipper's Avatar
    Join Date
    Mar 2005
    Location
    Vicus Saltus Orientalem
    Posts
    5,708
    Parameterstrings bij een command-line die een spatie bevatten moeten zijn omgeven door dubbele quotes (") en niet enkele ('), wellicht is dat het?

    Probeer eens:
    Code:
    svn copy -m "Test Revision 3 = Build 3.12.0.1" file:///E:/SVN-TEST/trunk  file:///E:/SVN-TEST/tags/Build-3.15.0.4590145
    of (als hij toch geen kaas kan maken van de paden):
    Code:
    svn copy -m "Test Revision 3 = Build 3.12.0.1" "file:///E:/SVN-TEST/trunk" "file:///E:/SVN-TEST/tags/Build-3.15.0.4590145"
    TMemoryLeak.Create(Nil);

  4. #4
    Het was inderdaad het dubbel quoten van de message die het 'm deed. Bedankt voor de hulp!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •