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

Re: Feature Request: Search for changed work copies

From: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2006-10-25 07:28:34 CEST

On Tuesday 24 October 2006 09:30, Ivan Cenov wrote:
> It happens sometimes to me to work on several projects in one day.
> (I have to work on many small projects). In such case, I sometimes forget
> to commit some of them. Thus here is my idea for a new function of TSVN:
> Searching for locally changed (against bases) work copies.
> Par example I have D:\PRJ as my root directory for all my projects.
> This directory is not under SVN control, but it contains many projects
> with SVN work copies inside. Is it possible when right-clicking on it
> (D:\PRJ) to be
> available a menu command "Search for changed work copies". This command
> should go recursively through the directory tree under D:\PRJ and will,
> at least,
> create report (something like log messages list). Then if the user wants
> to commit,
> he will right-click on the corresponding line of this report to activate
> commit dialog.

I guess the following comes fairly close to your feature request.

Create a batch file with the following lines. Adapt it to your paths

set tortoiseproc=c:\Programme\TortoiseSVN\bin\TortoiseProc.exe
%tortoiseproc% /command:commit /path:"d:\prj\dir1" /notempfile.
%tortoiseproc% /command:commit /path:"d:\prj\dir2" /notempfile.
%tortoiseproc% /command:commit /path:"d:\prj\dir3\subdir" /notempfile

For each working copy you will get the commit dialog out of which you can
commit your changes.

See http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-automation.html
for further information about automating TortoiseSVN.

> I understand that this will be effective for comparisons against locally
> stored bases
> so an option could be set by default to compare against them. The user
> may be
> allowed to select between the base and repository HEAD (if he has fast
> access to]
> the repos).

Use /repostatus instead of /commit to be able to compare with HEAD.

Tobias

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Oct 25 07:28:49 2006

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