I'm using a script to get the subversion head revision number from a subversion repository derived from the script found at http://blog.guymahieu.com/2008/06/09/getting-the-svn-head-revision-number-from-a-windows-batch-file/. The script works fine when called from a normal command line, but when calling the same batch file as pre-build-e...
Walking the line here, I know, but... How does StackOverflow show the revision changes in the diff-like format they use.
I don't care about SO per-se, it's just a convenient way to describe my requirement. I have an audit history of changes to a text field. I'd like to show the changes the same way SO shows revision history changes. I ...
In Subversion, is it possible to check out only those files affected during a specific commit, provided you know the specific revision number?
...
Hi,
I'm looking for a solution for the following situation.
We're using Subversion, and besides the development enviroment, where we use checkouts, we have a test environment, which is supposed to resemble the production environment as closely as possible.
Therefore, we now have it set up so that the environment is updated by using sv...
How do I export/get all the files belonging to a revision?
For example:
On revision 5434 if we have commited 5 files, how do I get all the 5 files on the specified revision?
Something like svn export with revision number, but I only want the files that I commited on that revision.
Edit:
Duplicate of "Subversion: Check out only those ...
Hello
I had some problems with my subversion server and i had to restore it from backup but it is an older one.
For example i have the server at revision 400 but my working copy is at 405.
How can i get my working copy to an older revision withought loosing my work and recommit the changes.
Thanks a lot
...
I'm using Visual SVN on my Windows Box.
I have Repository Application, which has Framework as an svn:external. All well and good.
When I make a checkout of Application, I'd like to have the version of Application and Framework for inclusion in a footer file. This way I could have something like:
Application Version $ApplicationVersion...
Hi. I am using Eclipse PDT and Subclipse. I want to set all of the files in my working copy to the one revision number and date and commit that as I want to have a periodical revision number where I know that the entire project is correct and if needed I can roll back to that. Is there a way to do that? TIA
...
Good afternoon,
I am currently in the very early phase of a new project written in .Net and using Entity Framework for data persistence/storage. One of the features required is the ability to 'version' certain model types. E.g. one model is one 'Requirement' which will have n 'Requirement Versions', basically having a way of going back ...
Hello,
I am trying to get the mercurial revision number/id (it's a hash not a number) programmatically in python.
The reason is that I want to add it to the css/js files on our website like so:
<link rel="stylesheet" href="example.css?{% mercurial_revision "example.css" %}" />
So that whenever a change is made to the stylesheet, it ...
So I've been working on a wiki type site. What I'm trying to decide on is what the best algorithm for merging an article that is simultaneously being edited by two users.
So far I'm considering using Wikipedia's method of merging the documents if two unrelated areas are edited, but throwing away the older change if two commits conflict...
How usable is a document which uses <ins> and <del>, compared to seeing the deltas in a two-pane split-screen diff viewer?
Although a command-line diff tool will show its output as one diff after another (in a single vertical column / console window), all the GUI diff tools that I know of tend to show diffs in a two-pane, split-screen U...
Hi all!
Say, I have var1 and var2 both with a string value. Var2 is a revision of var1 with minor changes:
var1:
Hello, world1
var2:
Bye bye, world!
Now I want this output:
<span class="removed">Hello</span> <span class="new">Bye bye</span>, world<span class="removed">1</span><span class="new">!</span>
much like SO's way. How c...
Hi,
I have a CVS repository with branches and tags. I want to delete all the revisions and to keep only the latest revision of the trunk and the latest in every branch.
I'm familiar with the "-o" command but I don't quite understand. I've read about it but I could use some help with the command.
Thanks,
Oded.
...
I have a python project under SVN, and I'm wanting to display the version number when it is run. Is there any way of doing this (such as automatically running a short script on commit which could update a version file, or querying an SVN repository in Python?)
...
hi,
my eclipse plugin is comparing a specific revision of svn with the same revision that was patched by another user.
i want to retrieve the content of a specific revision to my plugin, what is the best way to do it?
...
Lately I've been wondering if there were an alternative to a revision number (incremented int). I like to create at revision tag (or identifier if you like) from date/time (and later to covert the tag back to a date time object).
Preferably the revision is as small as possible. CouchDB is using a format like this for revision: 765B7D1C ...
I have tried to find some resource for Subversion how to make revision history and logging message on source code; This question might be a simple
We changed our CVS to Subversion. I am having a problem that how to make Revision history and log message to show on source codes. In CVS , we had used
/**
* Revision:
* $Log$
*
*
* ...
Hi,
I lost an svn directory some time ago, but don't know which revision has it? I looked at the log, but I'm guessing it is one of the times there is no comment ;)
...
Hi
My host does not handle SVN.
What I want is to be able to send through ftp a whole svn revision so I am sure I won't forget to upload a file.
Do you guies know any tool that would help me to do that?
thank you!
Vy
...