Questions tagged [revision]

Revision: A release of a piece of software which is not a major release or a bugfix, but only introduces small changes or new features.

A release of a piece of software which is not a major release or a bugfix, but only introduces small changes or new features.

Reference: http://www.diclib.com/revision/show/en/en_foldoc/R/664/300/0/6/10947

470 questions
16
votes
5 answers

SVN: Is it possible to get the list of revision numbers for given path?

I am making a PHP tool that connects to a repository, downloads the list of commits and stores them locally. However, due to the possibility that certain repositories are HUGE and grabbing their log results in long waiting time and possible…
Oliver Maksimovic
  • 3,204
  • 3
  • 28
  • 44
15
votes
5 answers

SVN Revert Trunk, remove a revision as if it never existed?

Is it possible in the svn server to remove a revision as if it never existed? So we have the following revisions: 1004 // Commit of some bogus code that broke the build and was just wrong 1003 // Change 1.2 1002 // Change 1.1 1001 1000 *** Initial…
Mantisimo
  • 4,203
  • 5
  • 37
  • 55
15
votes
5 answers

How can I store the new SVN revision number in my source code after I commit? (TortoiseSVN)

Is it possible, via TortoiseSVN, to know the SVN rev number you are about to get prior to a commit so that I can put that rev# into the source code comment section? Perhaps there is a special keyname/variable that I can put into my file that…
SiegeX
  • 135,741
  • 24
  • 144
  • 154
14
votes
3 answers

How to "time travel" git repository back in revisions?

Is it possible to completely revert git repository to previous X revision on bitbucket so that it doesn't keep any changes after that X revision and doesn't contain any source code change newer than X revision. For example if there are 1,2,3,4,5…
user358448
  • 1,127
  • 3
  • 20
  • 39
14
votes
2 answers

with svn, check the revision number when offline

I'm offline (well, to be exact my svn repository in unreachable right now), but I have a fully fledged working copy on which I am, well, working :-) Now I need to know the revision number of a file. How can I check the revision number of a…
Davide
  • 17,098
  • 11
  • 52
  • 68
13
votes
3 answers

How do I say something like HEAD-1 in svn?

I want to refer to a revision just before head or n-revisions before HEAD or something like that.
Ashkan Kh. Nazary
  • 21,844
  • 13
  • 44
  • 68
13
votes
2 answers

How do I add revision and build date to source?

I have a GCC project and would like to automatically add defines for build date and revision number (from git) to my sources. What's the best way to do this? My goal is simple to be able to do something like this on startup: printf("Test app build…
gucki
  • 4,582
  • 7
  • 44
  • 56
13
votes
1 answer

Subversion oddity - svn info revision higher than last changed rev on project folder

Got something going on I can't explain. I have a working copy of my project - done svn update (which says: Updated to revision 1895), I know it's the latest. When I perform an svn info on the project folder, the Revision is 1895, but the Last…
Wim
  • 11,998
  • 1
  • 34
  • 57
12
votes
4 answers

Where are all the native revisioned databases?

I've read all the SO questions, the Coding Horror articles, and Googled my brains off searching for the best ways to revision control data. They all work and they all have their appropriate implementations based on use cases and so on. What I really…
Jake Wharton
  • 75,598
  • 23
  • 223
  • 230
12
votes
1 answer

Phabricator: Arcanist : arc diff --update : No Changes Found

I recently started using phabricator. I am using the Arcanist CLI to submit the differential to phabricator. It was working fine until yesterday and today it throws an error whenever i am trying to create a new revision or update an existing…
Amyth
  • 32,527
  • 26
  • 93
  • 135
10
votes
1 answer

Git: determine revision based on file contents

I have a file from a project that uses GIT as repository. For that file I need to find out to which revision this file belongs to. The file is stand-alone outside of an repository (not tracked) therefore the standard git commands do not work. Is…
Robert
  • 39,162
  • 17
  • 99
  • 152
10
votes
8 answers

How do I simultaneously work on version 1.1 and version 2.0?

The situation: We're out of beta and version 1.0 has been released to several customer sites. Team A is already busy working on version 1.1 that will have incremental bugfixes and usability tweaks, while another team works on version 2.0 with…
Apocalisp
  • 34,834
  • 8
  • 106
  • 155
10
votes
3 answers

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…
Setjmp
  • 27,279
  • 27
  • 74
  • 92
10
votes
3 answers

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…
Frankie
  • 24,627
  • 10
  • 79
  • 121
9
votes
2 answers

What is the best way to create a simple revision system using MySQL?

I am currently working on a simple revision system that enables me to store multiple versions of a single file, which works fine so far. Table structure is as follows (obsolete columns removed for the sake of brevity): file_id file_revision …
Aron Rotteveel
  • 81,193
  • 17
  • 104
  • 128
1 2
3
31 32