Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 40541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:02:23+00:00 2026-05-10T15:02:23+00:00

How can you automatically import the latest build/revision number in subversion? The goal would

  • 0

How can you automatically import the latest build/revision number in subversion?

The goal would be to have that number visible on your webpage footer like SO does.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:02:24+00:00Added an answer on May 10, 2026 at 3:02 pm
    svn info <Repository-URL> 

    or

    svn info --xml <Repository-URL> 

    Then look at the result. For xml, parse /info/entry/@revision for the revision of the repository (151 in this example) or /info/entry/commit/@revision for the revision of the last commit against this path (133, useful when working with tags):

    <?xml version='1.0'?> <info> <entry    kind='dir'    path='cmdtools'    revision='151'> <url>http://myserver/svn/stumde/cmdtools</url> <repository> <root>http://myserver/svn/stumde</root> <uuid>a148ce7d-da11-c240-b47f-6810ff02934c</uuid> </repository> <commit    revision='133'> <author>mstum</author> <date>2008-07-12T17:09:08.315246Z</date> </commit> </entry> </info> 

    I wrote a tool (cmdnetsvnrev, source code included) for myself which replaces the Revision in my AssemblyInfo.cs files. It’s limited to that purpose though, but generally svn info and then processing is the way to go.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can you automatically import the latest github commit number from github? The goal
I have a custom model fields, that can have 'chain' argument. from django.db import
I have always assumed that having a package in the 'Depends' field would automatically
where can i find this class StringEscapeUtils that can automatically escape the characters instead
Is there some tool that can automatically convert the following c style code A
Is there an ISAPI filter that can automatically add the Last-Modified header in IIS?
Mongo docs state: The Mongo multikey feature can automatically index arrays of values. That's
I have 400,000 MIDIs that I need to automatically convert to MP3s. I know
Automatically build mySql table upon a CSV file upload. I have a admin section
I have a form (forms.Form) that automatically generates the choices for its own choicefield

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.