revision

Git svn fetch retrieving only one revision at a time

I'm using Git-1.6.5.1-preview20091022.exe. I've cloned a SubVersion repository using: git svn clone -s https://xxxxx:8443/svn/project/SubProjectA The SubProjectA has the standard layout (trunk, branches, tags). SubProjectA is a copy of another project. It has only 60 revisions if it own. After the command, a folder is created with th...

How to make "git describe" mention the presence or absence of local changes?

Hi! How can I check, in a script, if local changes are present? Perhaps in combination with git describe? ...

MySQL Row-level Revision Control

I’m creating revision control for data in our database. It will have the ability to store revisions, rollback, and rollback rollbacks. The database tables I’m using that needs to be revisioned is below: objects object_chunks object_attributes Objects is the main object, chunks are grouped up sections of the object, and attributes are a...

How can I get the latest revision of CakePHP 1.3?

Hi All, This seems like a pretty beginner question; however, I have no idea what the link for the latest revision of cake 1.3 is. I have git and svn working with eclipse. I think cake is using git now instead of SVN (perhaps I am mistaken). If it is using git could someone give me some instruction? ...

triplestore with revisions

I need to store RDF triples, while keeping track of modifications. Is there anything out there for this service? Alternatively, how would you keep track of revision while using a context-aware triplestore ? Edit: please note that I don't need only the changeset. I also need to see the triples at any time in the past. ...

svn - Get Revision Number providing piece of associated message

Hello all, I'm wondering if there is an easy way to create a script that gets the revision number out off svn, if we provide a piece of the message associated to it. example: I know that the message contains "added method A", that message was written once I committed the changes. Now if I don't remember the revision number associated t...

How to handle revisions to a Wiki with ActiveRecord?

I have a model Article, that has_many Revisions. Revisions have a variety of columns storing all the information about the Article. The Article also belongs_to a current_revision, which is the primary key of the Revision that is currently selected. Each Revision is never changed after being created. When a user goes to edit an Articl...

Subversion Revision Numbers

I've never worked with a VCS, so please correct me if I make any fundamental mistakes. For a project of mine, I've chosen to use Subversion, and I've been reading the documentation. If I understand correctly, the revision number is incremented for every check-in. However, this brings up a question. Is it possible to checkin more than o...

svn revision number set by propset doesn't match

Hi, I added the $Rev$ tag and invoked svn propset on a set of files during my project. The revision number that shows up is $Rev: 8 $ but during checkout it says I am on Revision 10. I think the $Rev$ counter does not reflect the actual revision number but the revision since svn propset was invoked? Anyone know how I can I sync the two? ...

Generating and applying diffs in python

Is there an 'out-of-the-box' way in python to generate a list of differences between two texts, and then applying this diff to one file to obtain the other, later? I want to keep the revision history of a text, but I don't want to save the entire text for each revision if there is just a single edited line. I looked at difflib, but I c...

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 TortoiseSVN will automatically replace with the rev# it's about to commit to? The motivation be...

CoreData updated sqlite database

Hey there, I'm working on my first application using coredata. Everything works perfectly. When I debug the app on my device (without it already being installed on the device), then quit the app, manually modify the sqlite dbase then debug the app again, it appears to be using the old version of the database. If the two sqlite files h...

Mercurial: How to make HG LOG to show trivial parent?

According to HG manual: By default this command prints revision number and changeset id, tags, non-trivial parents, user, date and time, and a summary for each commit. When the -v/--verbose switch is used, the list of changed files and full commit message are shown. I have tried hg log -v but still it does not show the ...

Why does Git display certain new folders when checking out old revisions?

Hey all - I'm still learning the ropes of Git (love it!) but the other day I noticed some behavior I just do not understand. We have, in essence, three folders that got moved into the repository at different times (one immediately after we created the repo, one a little while later, and one just recently). Recently, I had to get some cod...

SVN Version Rollback Question

Hello, I'm using SVN (TortoiseSVN) and often came into the following situation: I wanted to discard any changes since a specific (old) revision and turn all files back to this specific (old) version. Then I wanted to work further as if this specific (old) revision was the newest one, i.e. I wanted to be able to commit the specific old ...

Print Current Mercurial Revision Hash?

Is there a better way extract the current revision hash in Mercurial than hg log -l1|grep changeset|cut -d: -f3 ? Part of my webapp deployment script "tags" the uploaded app tarball with its unique revision hash. ...

Get svn revision without an appropriate svn binary installed

For some reason, we can't update the SVN in some build machines. Installed svn version is 1.3.x. But Hudson slave used 1.6 to create a checkout. This means we can't run "svn info" on those checkouts: $ svnversion subversion/libsvn_wc/questions.c:110: (apr_err=155021) svn: This client is too old to work with working copy '.'; please get...

SVNKit: Retrieve files for specific revision

Hello guys. I'm writing a tool which will push changes to database after commit to svn. The question is how to retrieve dirs for particular revision. SVNClientImpl clientImpl = SVNClientImpl.newInstance(); clientImpl.username(name); clientImpl.password(password); DirEntry[] dirs = clientImpl.list(url, Revision.getInstance(revision), tr...

Branch by abstraction: Are there "examples" of how it can be done?

Having read Martin Fowlers "Feature Branch" and Flickrs "Flipping Out" I guess there are a few guys out there who do: all (or most) development on Trunk release Trunk regularly (assuming updating your web site) not-yet-approved or not-yet-finished features should not be visible/have no impact on the regular user I've got 2 questions:...

delta-dictionary/dictionary with revision awareness in python?

I am looking to create a dictionary with 'roll-back' capabilities in python. The dictionary would start with a revision number of 0, and the revision would be bumped up only by explicit method call. I do not need to delete keys, only add and update key,value pairs, and then roll back. I will never need to 'roll forward', that is, when ro...