[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to use TortoiseProc 1.7.1 recursively from command line.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 12 Nov 2011 19:22:36 +0100

On 10.11.2011 23:53, woomla_at_gmail.com wrote:
> Op 10-11-2011 15:56, Stefan Küng schreef:
>> On Thu, Nov 10, 2011 at 10:22, woomla<woomla_at_gmail.com> wrote:
>>> Hi,
>>>
>>> I've developed a program that does a commit (amongst other things) with this
>>> command:
>>>
>>> "c:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:commit
>>> /path:"e:\SVN\MyProject\" /notempfile
>>>
>>> In version 1.7.1 with the new WorkingCopy construction, this command does
>>> not recursive into subdirectories anymore.
>>>
>>> How can I achive this at the same easy way, without building a filelist?
>>
>>
>> That commit command does recurse the same as 1.6 did.
>> Of course only if the working copy is in proper 1.7 format, and not a
>> nested layout (make sure there's only one .svn folder at the working
>> copy root - if you spot another .svn folder in one of the subfolders,
>> then that means another working copy root and the commit dialog won't
>> 'recurse' into that separate working copy).
>>
>> Stefan
>>
> My working copy is a good and clean 1.7 format. Only one .svn folder in
> the root of the WorkingCopy (MyProject).
>
> My original example is a little bit wrong. I want to commit a part of
> the project. I.e. I've made changes to
> e:\SVN\MyProject\Libraries\MySecondLibrary and I want to commit those
> changes, but not yet the changes I made in
> e:\SVN\MyProject\Projects\MyThirdProject.
>
> Now when I do:"c:\Program Files\TortoiseSVN\bin\TortoiseProc.exe"
> /command:commit /path:"e:\SVN\MyProject\Libraries\MySecondLibrary"
> /notempfile (from the command line), only the files in the directory
> 'MySecondLibrary' are put in the list, but not files in subdirectories
> that are changed, i.e.
> e:\SVN\MyProject\Libraries\MySecondLibrary\Source\MyChangedFile.cpp.
>
> For a better overview here a list:
> E:\SVN\MyProject\ (root of WorkingCopy with .svn directory).
> E:\SVN\MyProject\Libraries\MyFirstLibrary
> E:\SVN\MyProject\Libraries\MySecondLibrary\MyChangedProjectFile.bpr (to
> be commited).
> E:\SVN\MyProject\Libraries\MySecondLibrary\Source\MyNotChangedSourceFile.cpp
> E:\SVN\MyProject\Libraries\MySecondLibrary\Source\MyChangedSourceFile.cpp (to
> be commited).
> E:\SVN\MyProject\Projects\MyThirdProject\Source\MyChangedSourceFiles.cpp
> (not to be commited).

When you start the commit dialog with the explorer context menu, does it
show the files?
Set
Settings dialog->Advanced->Debug to 'true'
and compare the content of the dialog that shows when you start the
commit dialog from your plugin to that when you start it from explorer.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2877573
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-12 19:22:46 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.