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

Re: RFC: Log Message Templates via new hook.

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-05-27 23:07:58 CEST

kfogel@collab.net wrote:
> SteveKing <steveking@gmx.ch> writes:
>>
>>Our implementation of the log template is static. That means it
>>doesn't depend on the selected files. But we have (previously with a
>>button, now in the context menu) the ability to insert a list of the
>>selected files in the edit box.
>
> Ah. This is the part I don't understand.
>
> Earlier, you say you crawl "upwards". Upwards from what? If it
> doesn't depend on the selected files, then how does TSVN know what to
> crawl upwards from?
>
> In other words: If TSVN is getting those templates from properties on
> directories, how does it know which directories to look at?

A commit is started by right-clicking on selected files/folders in the
explorer, then choosing 'commit' from the context menu. TSVN uses those
selected files/folders as starting points. From there, we crawl upwards
to find the properties. So if a user selects the wc root folder for
commit, the properties are only looked for on that folder, even if the
files to commit are located deep below that folder.
I know it's not the ideal way. But most people have a whole project
checked out and set the properties for the whole project. If properties
are set differently for sub projects, then they have to commit from
those sub project folders and not from the wc root folder.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 27 23:10:24 2005

This is an archived mail posted to the Subversion Dev mailing list.