revisions

Build Version vs Revision number

☆樱花仙子☆ 提交于 2020-01-02 03:23:32
问题 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 deployment, however, when an issue arises and we need to roll back to a certain version, we have no idea which revision to target in subversion. I have few ideas: Save

How to iterate and count Revisions in a Word document using C#?

谁说胖子不能爱 提交于 2019-12-20 01:37:07
问题 I have been looking around for this but couldn't find an answer anywhere, so hope aomeone here can help. I am doing a WinForms application in C# in wich i use WordApplcation.CompareDocuments to compare two documents and get a result document with the changes marked as Revisions. This works well and apart from the revisions hiding stuff inside textboxes (wich i don't care about just yet) i get exactly what i want. So next step is to count how many words got revised - specifically

Revision History in CKAN

霸气de小男生 提交于 2019-12-13 19:00:25
问题 Does CKAN provide revision history for datasets? I see a table and an API call, but I don't see anything in the UI and/or the database when making a modification to a dataset or the metadata fields. 回答1: Edit a dataset's title and you'll see a row with the new value added to package_revision table. However 'revisions' is a deprecated feature in CKAN since a few years ago. Along with the patchy REST API, there is a 'history' page for datasets for the purpose of an admin to audit changes.

How to get revisions from Excel or PowerPoint Files in C# using Interop?

偶尔善良 提交于 2019-12-13 04:46:47
问题 Am working on an application that needs to count words from documents and revisions. as you can see here, I have already resolved this for Word Documents (well, as much it can be resolved) but now i find myself wondering how to get that data from Excel or PowerPoint documents. The MSDN Documentation didn't help so far - i will keep looking but if anyone knows the answer i would appreciate a little help. EDIT: So taking the information provided by @Andrew (Thanks go to him) i got this code for

SVN merge trunk into branch deleting files

人盡茶涼 提交于 2019-12-10 23:07:41
问题 I am trying to do something seemingly simple, yet having problems. Basically, I have an svn repo, it has a trunk and a branch which was created from revision 122. I added a file (src/utils/foo.py) to the branch, committed it as revision 128, all good. However, there have been several commits (namely (123,124,125,126,127) in to the trunk that I'd like in my branch. So I do something like: $ svn merge -r122:127 ^/projects/my_project/trunk/src/utils . --- Merging r123 through r127 into '.': D

track revisions in postgresql

こ雲淡風輕ζ 提交于 2019-12-09 13:15:35
问题 I have to keep track of revisions of records in a table. What I've done is create a second table that inherits from the first and adds a revision counter. CREATE TABLE A ( id SERIAL, foo TEXT, PRIMARY KEY (id)); CREATE TABLE B ( revision INTEGER NOT NULL) INHERITS (A); Then I created a trigger that would update table B every time A is inserted/updated. What I can't figure out is how to make B.revision keep an individual "sequence" for each id. Example: table A has 2 rows, i & j. i has been

Is there any way to svn diff or svn merge across multiple non-sequential revisions at once?

折月煮酒 提交于 2019-12-06 18:18:05
问题 So in SVN you can do things like: svn merge -r555:558 svn diff -c551 but (as far as I know) there is no way to do: svn merge -r555:558, 592:594 svn diff -c551, 557, 563 For merges you can always just do several commands in sequence: svn merge -r555:558 svn merge -r592:594 but for diffs doing that will just result in multiple diffs (and it's a little sub-optimal for merges too, as you can get conflicts from things that might just be removed in later revisions). So, my question is ... is there

How to list SVN tags and its revisions from command line

℡╲_俬逩灬. 提交于 2019-12-05 12:05:45
问题 I need revisions of different tags. So far I used a Tag-Browser in SmartSVN. However it is quite slow. Something like svn ls "^/tags" shows only the tags but no revisions. And something like svn log /path/to/tag -v --stop-on-copy gives too much confusing information which is not needed. Is there a svn command to get only tags and its revision? 回答1: You can see the revision numbers of the most recent commit for each tag by adding the option -v : svn ls -v ^/tags If you want to process the

Build Version vs Revision number

风流意气都作罢 提交于 2019-12-05 04:22:56
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 deployment, however, when an issue arises and we need to roll back to a certain version, we have no idea which revision to target in subversion. I have few ideas: Save AssembleVersion as comment in each file Have a keyword in commit comments that get's replaced by

How to get a detailed list of google doc revisions in Drive API

萝らか妹 提交于 2019-12-04 10:53:35
问题 I am trying to find a way to retrieve a detailed list of Google doc revisions using Google Drive API. I have tried to implement it in Java, and it does return a list of 10 revisions. However, this list is not detailed enough. If I go to Google Drive, open this file and check the revisions through "File-see revision history", it will return the same list (of 10 revisions) as I got from the Drive API. But there is a button called "Show more detailed revisions" and it will return a detailed list