revision

Why does Subversion/TortoiseSVN skip revision numbers if a file has only been changed one time?

I am fairly new to Subversion/TortoiseSVN and I want to know if there is a way to prevent Subversion from skipping revision numbers on files so that I can track the amount of time a file is changed based on it's revision number: Example: I have A.txt, B.txt, and C.txt Revision 1: (added the files to repository) A.txt :1 B.txt :1 ...

Using $Rev:$ SVN keyword in C# code?

Does anyone know what the syntax is to use the file revision keyword within the code in C#? I know how to use it in SQL Server but I can't seem to get the syntax right. I have already added the property to the file in which I would like to display the version. Thanks! badPanda ...

Build Version vs Revision number

Hey There I have an asp.net/C# app that uses subversion for source control. My app automatically increases it's AssembleVersion and AssemblyFileVersion on each build which works like a charm, and displays the build number in the administration side of the site. We keep track of AssembleVersion and AssemblyFileVersion's when we do depl...

Are there revision control systems for images?

I would make crazy use of such a revision control. If it doesn't exist - where would to a good starting point for building one? I can probably make a lot of designs and interaction flows, but to implement it is another thing. Would it be a good idea start by creating a macro to work with Adobe Photoshop / Illustrator? Or one of the onl...

a good software revision control for existing code

Hi, I'm sure this has been asked before but my question is a little different. I have these files that I'm working with huge data. Some of the data files are more than 2 gigs. I just jumped into this project and all edits have just been on one file. We also have 2 computers and those files aren't in sync all the time. The code is written...

Best way to use TFS on new Project

About to start a new project in VS2010 which will have a few windows services, a few dlls, a GUI application and a MS SQL Database. What is the best what to handle these in source control and more specify Team Foundation Server? On previous projects we used Tortoise SVN to commit each component separately to the repository and ther...

Row Level Revision Queries MySQL.

I currently implement some kind of version control for values in a table. I have a composite primary key between bookingId and revision. I want to be able to select all records from this table which are the head revision? I am not sure what I should be doing. [ bookingDetailsTable ] : [ bookingId ] [ revision ] [ name ] etc... SELE...

How to view revision history for Mercurial file?

For a given file in a Mercurial repository, how can you see the revision history? And how can you diff two revisions of the file? Ideally doing all this with visual tools (we use ExamDiff to do some other diffs). I'd say this is basic source control functionality but I can't seem to figure out how to do this with Mercurial. ...

Keeping page changes history. A bit like SO does for revisions.

I have a CMS system that stores data across tables like this: Entries Table +----+-------+------+--------+--------+ | id | title | text | index1 | index2 | +----+-------+------+--------+--------+ Entries META Table +----+----------+-------+-------+ | id | entry_id | value | param | +----+----------+-------+-------+ Files Table +----+-...

How to clone git repository with specific revision/changeset?

How can I clone git repository with specific revision/changeset? Something like I usually do in Mercurial: hg clone -r 3 /path/to/repository Thanks! ...

Refer to a mercurial revision relative to a named revision

In git, you can do refer to revisions by something like master^^, meaning two revisions before master. Can you do the same in Mercurial in some way (or with some extension)? For example, if I want to do "the revision before tip", something like tip^. edit: Rafa mentions hg parents which works for 1 level deep. How do I do it for arbitra...

Injecting mercurial changeset as version information in a C executable

I would like the executables for a project I am working on to have the latest mercurial changeset recorded so that when a user complains about buggy behavior, I can track which version they are using. Some of my executables are Python and others are compiled C. Is there a way to automate this, or can you point me to projects that exhibit...

Why is SVN checking out a future revision number? (or is it just reporting so?)

I have checked with NetBeans and RapidSVN. My latest revision is 1000 (for example). But when I do a svn update in my staging server, after checking out all files, I get the message Checked out revision 1003!! (off by 3). How can it checkout a revision that is not there yet?! What is going on? Is the reporting wrong or, are both the pr...

SVN log (with mergeinfo) doesnt show merged revisions

I use the svnserver version 1.6.4 (r38063) and on the client side TortoiseSVN 1.6.12. Also SlikSvn is installed on my PC. The problem: I merged some revisions from my trunk to a specific tag. After commit the "svn pg svn:mergeinfo" command on this tag shows all this new revisions. But if i use TortoiseSVN "Show Log" command with the op...

How can I update a revision number in a not modified file for every commit having also this file committed ?

I have a revision.txt file in my SVN project. Basically I want that this file is updated automatically when I call svn ci with the revision number the working copy will have after the commit. For example: revision.txt contains "10" I make some change to my working copy (other files, not revision.txt) svn ci launch hook script read ...

Can I edit the message of an older revision in Bazaar?

How can I edit an older revision's message to more correctly describe its changes? ...

make a cross change in a file with mercurial

I'm new to mercurial, so may be my question is stupid. Let say you made a mistake when you first started working on your code. For example, you putted instead of Now you want to change this, but not only to the latest revision, but to all revisions and versions of your page. Is this possible? ...

can I override the version block in a dll?

Suppose I have built a lot of dlls from a certain revision of the svn repository. (It might by any revisioning system) I am able to create a resource file containing an entry that denotes the revision number. Can I link that resource file into the dll's I have already built? Some sort of editbin or the like? ...

How does StackOverflow implement its revision history?

If I were to implement a system identical to the StackOverflow question revision history using Ruby on Rails, what would I need to do in order to achieve that? I am creating a site that acts like a wiki where user contributed content can be updated by other people. I need to be able to track the history of these changes, but I am not fam...

How do I name my build?

What is the proper way to name my revisions? v1.0.3.20 Alpha or Alpha v1.0.3.20 ...