Home > By category > Developer Tools >Reference & Utilities > SvnRev



SvnRev

  • Downloads: 
  • Views: 
  • Rating:

The SvnRev application was developed to be a little program that writes the current revision number of project into a C/C++ header file, a Java package file or a C# class file.

This revision number is stored in constants (macros in the case of C/C++), both as a number and as a string. It gets the revision number from the "RCS keywords" that must be present in the source files. SvnRev is specifically designed for the Subversion version control system, but it can also be used with CVS and RCS.

SvnRev is a self-contained utility that does not rely on a particular IDE. SvnRev is a portable utility and should run on every environment on which a conforming C compiler is available. Our aim was to use it from a "makefile" and to attach to a version control system, and specifically to the Subversion system.

SvnRev has the following options (grouped by purpose):
- jpackage
The option -j writes a Java package file instead of a C/C++ header file. The name of the package must follow the option (the default package name is "com.compuphase").
- cnamespace.class
The option -c writes a C# class file instead of a C/C++ header file. The name of the namespace and class must follow the option; namespace and class names are separated by a period (the default namespace/class string is "compuphase.svnrev").
- pfilename
The option -p causes the fields AssemblyVersion and AssemblyFileVersion to be updated in the Assembly Property file (usually "AssemblyInfo.cs"). The -c should be set as well.
- ofilename
The option -o allows you to specify the name of the generated include file. The default name is "svnrev.h" for C/C++ mode, "SvnRevision.java" for Java mode and "SvnRevision.cs" for C# mode. When you add "-omydefs.h" to the command line (without the quotes), the utility creates the file "mydefs.h" instead. When you say -o without gluing a filename directly behind the option, the results get written to stdout.
-i
The option -i is for incremental running. This switch makes SvnRev scan the "svnrev.h" generated from a previous run, in addition to the (partial) set of source files. This switch may be important when using SvnRev in a makefile, see below. If you use the -o in addition to -i, SvnRev will look for the filename specified with the -o option instead of svnrev.h, SvnRevision.java or SvnRevision.cs.
- fpattern
The option -f adds a prefix or a suffix (or both) to the build number in the string constant SVN_REVSTR. The format for pattern is "prefix#suffix" (without the quotes) where the # symbol gets replaced by the build number and prefix and suffix are arbitrary strings.
- mname
The option -m changes the base name (or prefix) of the generated constants. By default all generated constants start with SVN_REV, but this can be changed with this option.
- v
The option -v causes SvnRev to list the names of files that were modified after the last commit to version control on stderr (console output).

Free download from Shareware Connection - A utility for Subversion and CVS / RCS

Publisher: ITB CompuPhase | License: Freeware | Price: 0.00
Version: 1.8.4224 | Size: 40 KB | Platform: WinOther
Released Date: | Rating: 0 | Title: SvnRev

Author Url: http://www.compuphase.com
Program Info Url: http://www.compuphase.com
Download Url: http://www.compuphase.com/software/svnrev_win32.zip

More downloads from SvnRev publisher ITB CompuPhase:

AniSprite - AniSprite is an advanced sprite animation library for Microsoft Windows

KeyTrap - Block Ctrl-Alt-Delete in Windows 2000 and Windows XP... (who said that it could not be done?) KeyTrap is a programmer's tool for Microsoft Windows (any Win32 version) that allows you to trap key presses (any key) and optionally block them.

EGI - Frame-animation engine (DLL) and compiler, based on an extended FLIC file format

Small - A quick and little scripting language, designed to extend applications (source)

SvnRev keywords:
SvnRev related downloads:

How to Organize Music Files - How to Organize Music Files - now with new technologies it is clear how to organize music files. Special tool, designed by our programmers will show how to organize music files automatically! Learn how to organize music files.

Recover Lost Files Pro - Recover Lost Files ( Recommended by Microsoft(R) ). How to recover lost files? Recover deleted files with the lost file recovery software, Recommended by Microsoft(R) Corporation. Recover Lost Files - Download software at Recover-Lost-Files.org !

Recover Files from Recycle bin - Recover Files from Recycle bin - How to recover files from Recycle bin? Recover deleted files from Recycle bin with the Recycle bin recovery software. Recover Files from Recycle bin - Download software at Recover-Files.ca

Find Duplicate Files Platinum - Find Duplicate Files - easily with the Software, Recommended by Microsoft(R) Corporation as the BEST software to find duplicate files on any computer. Find file duplicates, delete and remove duplicates - Download software at Find-Duplicate-Files.net

Recover Deleted Files Pro - Recover Deleted Files - easily with the Software, Recommended by Microsoft(R) Corp. as the best program to recover deleted files. Recover deleted files from recycle bin and other places. Recover Deleted Files - Download at Recover-Deleted-Files.us !

Shareware Connection periodically updates pricing and software information of 'SvnRev' from company source 'ITB CompuPhase' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'SvnRev' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of SvnRev.

New Reviews

SnapCrab - Nearly every PC users need to take screenshots from time to time, whether it is for personal or professional needs. While using the basic Windows screenshot capture method is available, it is not adequate for everyone. When you want to capture ...

Style Jukebox - No matter if you use a computer for personal needs or work in a networked setup, listening to music is commonplace. It is required for relaxation amidst work and nearly every user indulges in it. For music playback on PC, the WMP is not the only ...

AOMEI Partition Assistant Lite Edition - No matter whether you are a casual PC user or deal with a number of computers for professional needs, taking care of hardware components is a necessity. Among all hardware components used in laptop or desktop, hard disk is the most important one. ...

CleanMyDrive - PC experts unanimously agree that using Macs tend to be a smoother and faster experience than running Windows based PCs but the Apple laptops and desktops also need maintenance and performance tweaking, occasionally. Regular web browsing, ...

PhoXo - Even a few years back, it was mostly graphic design professionals or people involved in print media were seen using image editing applications. With digital camera prices nose-diving and mobile imaging reaching new heights, things have undergone ...

CherryPlayer - When you want to watch movies, online videos or listen to music tracks, using a suitable application is required. There is no hard and fast rule that you have to stick to Windows default media player software for such needs. There are plenty of ...

Zebra Total Video Converter - Using video conversion software is something most PC users have become accustomed to nowadays. Given the fact nearly all smart phones, tablets sport HD recording features and cameras have become small enough to be put in pockets, recording voices ...

HWiNFO32 - While Windows ships with its inbuilt utilities and there are command prompts to diagnose hardware and software components, these may not be feasible for all users. To learn about exact hardware and software configuration in a computer, either ...

PotPlayer - When it comes to selecting a suitable media player application, the profuse options can leave most PC users baffled. While the bundled WMP has become far more polished than its predecessors in latest releases of Windows, a section of users prefer ...

HandBrake - Nearly every PC user gets into a situation when they fail to understand what to do with a DVD that will not play back on DVD player or PC owing to format restrictions. Some users may also feel irked about a video file downloaded from web refusing ...




New Downloads

Alvas.Audio

Alvas.Audio for .Net is an
audio library written in C#.
The collection allows C# and
VB.Net developers to create
...

Code Review Bundle

Code Review Bundle contains
two separate tools: Review
Assistant and Code Compare

InstallAware Free Installer

InstallAware\'s new Free
Installer runs inside Visual
Studio and creates setups
automatically, by scanning
your loaded ...

C# PDF

IronPDF is a PDF C# C-Sharp
package for conveniently
generating, editing,
extracting content from PDF
documents (OCR). C# ...

Universal Data Access
Components

UniDAC (Universal Data Access
Components) is a powerful
library of non-visual
cross-database data access
components for ...

TeeGrid

TeeGrid Grid Component for
Embarcadero RAD Studio, Delphi
and C++, VCL and Firemonkey
frameworks and Lazarus
FreePascal. ...

ShellBrowser Components
Delphi Edition

The ShellBrowser components
give a Delphi programmer easy
access to the Windows Shell
functionality. The components
look ...

NOV Grid for .NET

NOV Grid for .NET is a high
performance Data Grid
component with advanced
features for editing,
navigation, seamless ...

Database Application
Builder

Develop database applications
and Web database applications
without writing any code.

ApexSQL Data Diff

ApexSQL Data Diff is a SQL
Server database comparison
tool used to compare and
synchronize database data. It
also ...

Audio Graph ActiveX

With this ActiveX (OCX)
component you can display a
meter, detect a silence, and
display 2 types of audio
graphs by the ...

Dynamsoft OCR SDK

Dynamsoft OCR SDK enables you
convert images to text or
searchable PDFs in web app;