Hello,
how can I automatically query the current revision from Tortoise Subversion and
log it in my C# app?
Revision, date and comment is best
Do you have any tips?
if exist "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe"
"C:\Program Files\TortoiseSVN\bin\SubWCRev.exe"
"$(ProjectDir)."
"$(ProjectDir)Properties\AssemblyInfo.Base.cs"
"$(ProjectDir)Properties\AssemblyInfo.cs"

Thomas AdlerPosted Aug 25, 2024, 5:11 PM
Yes.
Is it possible for my application to write the revision to the log file without it being installed at the customer?
I only want to know the current revision that is installed at the customer.
Can you please give me an answer, then we can close the thread. Thanks to all.
Thomas AdlerPosted Aug 17, 2024, 6:43 PM
Hello,
my goal is to see the revision number at the customer, with which revision created.
If I have to call a process, this is not possible.
I have a project with n files.
How can I create and query a branch so that I get all the files to compile?
Thanks for tips.
Regards
jammy andersonPosted Aug 17, 2024, 6:40 AM
To automatically query the current revision from TortoiseSVN and log it in your C# app, you can use the following approach:
Use
svnCommand Line:svn infocommand to get revision information:svn info --xmlParse XML Output in C#:
Here's a sample code snippet for executing the command and parsing the XML:
Make sure the
svncommand-line tool is installed and accessible from your application. Adjust the XML parsing as needed based on your actual output.Jignesh KumarPosted Aug 14, 2024, 11:55 AM
Hello Thomas,
You can create class to read svn revision info step by step, Create below class and call method in program file to get latest change done in SVN,
Note : Here I have created console application but you