wrong description of /findtype in :log command

55 views
Skip to first unread message

Brazhnik

unread,
Oct 14, 2011, 3:18:15 PM10/14/11
to us...@tortoisesvn.tigris.org
Hello.

It seems that TSvn Help contains wrong description of "findtype"
option of "log" command.
See Table D.1. Appendix D. (Automating TortoiseSVN)
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics

I found in TSvn v1.7.0 that "TortoiseProc.exe /command:log
/findtype:X" selects log filter type somehow like this:

'X' is a sum of numbers that turn on filters

1 - by Messages
2 - by Paths
4 - by Authors
8 - by Revisions
32 - by Bug-IDs
128 - by Date
256 - by Date Range

0 (or 431) - by all

It seems very useful but haven't described in Help.


Many thanks for TSvn 1.7!


--Andrey

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2855284

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Stefan Küng

unread,
Oct 14, 2011, 4:35:17 PM10/14/11
to us...@tortoisesvn.tigris.org
On 14.10.2011 21:18, Brazhnik wrote:
> Hello.
>
> It seems that TSvn Help contains wrong description of "findtype"
> option of "log" command.
> See Table D.1. Appendix D. (Automating TortoiseSVN)
> http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics
>
> I found in TSvn v1.7.0 that "TortoiseProc.exe /command:log
> /findtype:X" selects log filter type somehow like this:
>
> 'X' is a sum of numbers that turn on filters
>
> 1 - by Messages
> 2 - by Paths
> 4 - by Authors
> 8 - by Revisions
> 32 - by Bug-IDs
> 128 - by Date
> 256 - by Date Range
>
> 0 (or 431) - by all
>
> It seems very useful but haven't described in Help.

I've opened issue #95 for this:
http://code.google.com/p/tortoisesvn/issues/detail?id=95

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=2855306

Brazhnik

unread,
Oct 15, 2011, 2:52:40 PM10/15/11
to us...@tortoisesvn.tigris.org
On Sat, Oct 15, 2011 at 12:35 AM, Stefan Küng <torto...@gmail.com> wrote:
> On 14.10.2011 21:18, Brazhnik wrote:
>> Hello.
>>
>> It seems that TSvn Help contains wrong description of "findtype"
>> option of "log" command.
>> See Table D.1. Appendix D. (Automating TortoiseSVN)
>> http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics
>>
>> I found in TSvn v1.7.0 that "TortoiseProc.exe /command:log
>> /findtype:X" selects log filter type somehow like this:
>>
>> 'X' is a sum of numbers that turn on filters
>>
>>    1 - by Messages
>>    2 - by Paths
>>    4 - by Authors
>>    8 - by Revisions
>>   32 - by Bug-IDs
>> 128 - by Date
>> 256 - by Date Range
>>
>>    0 (or 431) - by all
>>
>> It seems very useful but haven't described in Help.
>
> I've opened issue #95 for this:
> http://code.google.com/p/tortoisesvn/issues/detail?id=95
>

Great,
but commited description differs with v1.7.0 behaviour

you commited
> /findtype:X with X being a number between 1 and 512. The numbers are the sum of the following options:
> /findtype:1 filter by everything
no, 0 filter by everything

> /findtype:2 filter by messages
no, 1 filter by messages

> /findtype:4 filter by path
no, 2 filter by path

> /findtype:8 filter by authors
no, 4 filter by authors

> /findtype:16 filter by revisions
no, 8 filter by revisions
findtype:16 does nothing

> /findtype:32 filter by bug ID
> /findtype:64 filter case sensitive
no, findtype:64 does nothing

> /findtype:128 filter by date
> /findtype:256 filter by date range


--
Andrey

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2856078

Mohamed Raffi

unread,
Jun 3, 2014, 9:07:03 AM6/3/14
to us...@tortoisesvn.tigris.org
Hi,

I would like to call th log command and filter the log with the date range from one date to tilldate.
Form the documentation available at the following location, I got the information how to inoke the command, but I could not find out how to pass the dates to /findtype:256, can somone tell me how to pass the dates?

Documentation:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html

Command:

TortoiseProc.exe /command:log /findtype:256 ? ? /path:filepath

Thanks,
Raffi

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3079769

Stefan Küng

unread,
Jun 3, 2014, 2:50:23 PM6/3/14
to us...@tortoisesvn.tigris.org
On 03.06.2014 06:41, Mohamed Raffi wrote:
> Hi,
>
> I would like to call th log command and filter the log with the date range from one date to tilldate.
> Form the documentation available at the following location, I got the information how to inoke the command, but I could not find out how to pass the dates to /findtype:256, can somone tell me how to pass the dates?
>
> Documentation:
> http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html
>
> Command:
>
> TortoiseProc.exe /command:log /findtype:256 ? ? /path:filepath

Unfortunately, you can not set the min and max date from the command
line. That is simply not implemented.

I've created issue #650 for this:
https://code.google.com/p/tortoisesvn/issues/detail?id=650

in the mean time, you could just tell the log dialog to only show the
revisions you want like this:


TortoiseProc.exe /command:log /startrev:"{"2006-02-17 15:30"}"
/endrev:"{"2008-02-10 17:45"}"

See here for the date formats you can use to specify a revision:
http://svnbook.red-bean.com/en/1.7/svn.tour.revs.specifiers.html

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=3079823
Reply all
Reply to author
Forward
0 new messages