Compare branches/folders

16 views
Skip to first unread message

msamb...@gmail.com

unread,
Aug 7, 2019, 10:25:44 AM8/7/19
to TortoiseSVN
Hi,

I am not sure, if I am posting my query at right place. If I am wrong, please guide me the best place to post my query.

We have a requirement of compare the contents of two releases(branches,folders) having similar files with names prefix change.
The files are appended with unique random id for each file of each release. So the file name getting changed for each release.

Ex:
There are two releases 19a and 19b.
19a has four files
customerassetimport-3125.dita
importinstalledbaseassets-3166.dita
importproductgenealogy-3090.dita
maintenanceassetimport-3106.dita


19b has four files
customerassetimport-3126.dita
importinstalledbaseassets-3167.dita
importproductgenealogy-3091.dita
maintenanceassetimport-3107.dita

Found some thing inbuilt support to compare two branches in Tortoise SVN,
https://www.nutt.net/comparing-two-svn-branches-thank-you-tortoisesvn/

But it is comparing the files having same name otherwise it's considering as new files.It might not be helpful directly.

So I am looking for suggestion how best we can tweek the file names to compare the two branches by using regex.

TortoiseSVN 1.9.5, Build 27581 - 64 Bit , 2016/11/26 09:18:58
Subversion 1.9.5, -release

Thanks,
Samba

Stefan

unread,
Aug 8, 2019, 12:21:40 PM8/8/19
to TortoiseSVN
if you would rename or copy the files to their new names for each branch, then svn would recognize that and could compare those properly when diffing branches.
But if you create the files new and delete the old ones, then for svn those files are unrelated.
Reply all
Reply to author
Forward
0 new messages