Questions tagged [revision-history]
The revision-history tag has no usage guidance.
226
questions
1
vote
2
answers
190
views
Google Drive API v3 with Python to write data from revision file to pandas
I am using the Google Drive API to get file revisions, then I am interested in reading (not downloading) the contents of each file revision to a pandas dataframe. I have been able to get the revision ...
0
votes
1
answer
71
views
git rebase merge conflict mistake, selected deleted instead of created file
During a git rebase origin/main I ran into a merge conflict. A file did not exists in the local branch but in the main branch.
I then ran git mergetool and it asked me what I want to do:
Merging:
src/...
0
votes
1
answer
47
views
Google Apps Script: How to get all changes during a time frame
I have a spreadsheet that my colleagues update fairly frequently. Those changes need to be reflected in a separate system, and until now I've been manually copying the changes over manually, but I'm ...
1
vote
1
answer
21
views
Get link to previous versions of a file
I am looking for a script like this to pull out the previous versions along with a link to them to put in a google sheet. The goal is to display previous versions and allow others to click on a link ...
2
votes
0
answers
24
views
How to re-parent an old revision to a different branch?
We have a project with a few thousand files that has source control history going back nearly two decades.
Revision 1 → Revision 2 → Revision 3 ... Revision 18352
And them someone wanted to take a ...
1
vote
1
answer
33
views
How to reduce the size of .git/objects?
My .git directory is overly large and displeasing me. I have, in the past, added and committed some directories that were full of large binary files. I've subsequently removed them from the latest ...
0
votes
1
answer
132
views
How can I get the list of changes that user W made between date X and date Y which affected directory Z?
I think the command is p4 changes, but I can't figure out the syntax for what I want.
I tried with
p4 changes -u myusername @2021/09/08,2022/04/04 /path/to/directory
where the date interval and the ...
0
votes
1
answer
507
views
How can I view an earlier version of a table on a T-SQL server?
I've just done something very silly. In both the productive and development environments on our SSMS server, I've changed the wrong column in one table. I know exactly what rows have been changed, but ...
0
votes
0
answers
27
views
How to get full history of IFile Eclipse Team IFileHistoryProvider when file has been moved within multimodule project?
I am trying to access the full repository history of an IFile object programatically from an Eclipse plugin. When the file has never been renamed or moved, the following code snippet works:
public ...
0
votes
0
answers
17
views
Is there any way to merge ckeditor5 revision history with published/live content?
I am facing some issue, Could you please assist me weather I'm doing wrong or not.
i am using Ckeditor5 revision history with Publish and draft concept the end user will not be able to view draft ...
4
votes
1
answer
2k
views
Is there a way to restore previous Google Apps Script Editor Versions
Is there a way to restore previous Google Apps Script Editor Versions?
I accidentally deleted a big portion of my code in the Google Script Editor. In the new editor, I do not see a way to restore ...
1
vote
0
answers
16
views
Is there a name for an algorithm which stores file change history efficiently?
Surely as an organization like Github receives a code commit, it stores only the changes rather than every historic version of the file.
Although such a scheme is obviously possible and not incredibly ...
0
votes
1
answer
58
views
How to switch to an old revision of the entire project?
For what I know, CVS is not like git and svn that you can switch back to an older version of an entire repo code.
The best I tried is I checkout a date (some days ago), using Eclipse. But it checked ...
1
vote
0
answers
19
views
How to massively restore all file edits from eclipse history?
I'm in a lot of trouble.
During a composer update, somehow, the git process crashes and I have lost all my edits since last commit. It looks like there was an hard reset of my repository.
In eclipse I ...
3
votes
1
answer
146
views
How to retain revision history when cloning a Conda environment?
When I clone a Conda environment
conda create --name thenewenv --clone theorigenv
I noticed the revision history of theorigenv is lost as seen by
conda activate thenewenv
conda list -r
How can I ...
1
vote
0
answers
312
views
Can you access Google Drive file revision history in Google Colab?
I wrote over filenames in Google Drive and want to link the old names listed under file revision history in the GUI (ex from picture: medium.1.jpg) to the new ones (ex from picture: 504.jpg). Is there ...
7
votes
1
answer
2k
views
find past versions of app script in new editor
I accidently overwrote a long function. I want to revert to an older, working version of my code.gs file.
App script auto saves every time I debugged the script.
I assume the older saved versions are ...
0
votes
1
answer
120
views
Get list of revision ids ONLY
I am trying to get a list of all the revision ids of a google sheet that has a lot of revisions, but when I execute GET https://www.googleapis.com/drive/v2/files/[fileID]/revisions, it gives me a lot ...
0
votes
1
answer
109
views
MediaWiki API revisions VS allrevisions
I am trying to write a script in order to get the revision history of biographies (the goal is to investigate how a biography changes over time). I have read most of the related articles here and the ...
1
vote
1
answer
118
views
I can't remove Git Large File from repository history
I've a repository that was migrated from Mercurial to Git in the past, and this repository is on BitBucket.
Now I need to move from BitBucket to GitHub, but GitHub saying to me that exists a big file, ...
1
vote
1
answer
651
views
AWS QLDB Delete Record and its Revision History
We are looking into using AWS QLDB to store some data that will remain in QLDB for a few months but then we want to move untouched data into AWS Glacier. Is it possible to completely remove the record ...
1
vote
0
answers
25
views
Storing revision history in a dedicated API (Revision API / Changes API)
Most of us are likely used to storing revision history in the same database where the final data is. This creates maintainability and possibly stability problems:
Revision history is a fairly ...
1
vote
2
answers
304
views
revert GIT HEAD to older commit
I have realized that I have committed stuff into my branch that's bad and I want to revert to an earlier commit. I have confirmed that git checkout 8dd018c brings me to an earlier commit to which I ...
0
votes
1
answer
443
views
Unable to see Revision History in Azure Databricks
Recently, I cannot find my revision history in Azure Databricks. The upper pane has no option for it. Could you please help me to get it back ? Or is there any new option for it ?
0
votes
1
answer
587
views
How to enable Wordpress Revision on Custom Post Type
I am using a Custom Post Type named My Blogs for all my blogs.
It was only later that I learned that only Posts has the integrated revision tracking and auto save function enabled. How can I enabled ...
3
votes
1
answer
246
views
Censoring commit history
Is there any way to censor certain worDs from git commit messages from the commit history? Not from files or actual code, but from the commit messages themselves.
0
votes
0
answers
142
views
Backup specific SVN Revision
I have repository which contains multiple projects in the trunk folder.
The requirement is to keep the latest 3 revisions in the repository of each projects and backup the remaining revisions.
...
12
votes
2
answers
3k
views
How do I clone, fetch or sparse checkout a single directory or a list of directories from git repository?
How do I clone, fetch or sparse checkout a single file or directory or a list of files or directories from a git repository avoiding downloading the entire history or at least keeping history download ...
0
votes
1
answer
428
views
Rancid/VieWVC - cvs - keep only latest revisios/ remove older versions
I'm using Rancid with ViewVC as "front end" for reviewing config files of network devices
I would want to keep only latest revision number for all devices, and to remove old ones
cvs -d /usr/local/...
13
votes
2
answers
3k
views
Why doesn't git blame --ignore-rev/--ignore-revs-file work for me?
git blame --ignore-revs-file is clearly an option that exists in modern Git.
There's only one problem. It doesn't work.
Or at least, it doesn't work for me:
You can add this in a shell script:
mkdir -...
1
vote
1
answer
146
views
SQL Join on table with revision dates
I am about to begin working on a solution for my company in SQL that requires me to link product category mappings based on a SKU number. The problem is that the category mappings can change, and they ...
-1
votes
2
answers
57
views
migrating svn to git and checking in to git with revision on svn
I have done migrating my repos from SVN to GIT. Now developers have few changes on SVN repo. I need those changes alone to be checked in GIT by me. After cutover, I will have developers check in to ...
-2
votes
1
answer
70
views
Timeline of all changes to piece of code to revert back
Is there anyway i can see the history of all the changes which i have made over a period of time. Such as if i am working on a piece of code and over time i had taken a wrong direction and now the ...
-1
votes
1
answer
730
views
Trying to get Google Sheets logs
Trying to get Google Sheets activity logs
I need to get google sheet logs showing the activities happening, so that
I can have a record of the changes done, on my computer.
I don't have to download ...
1
vote
1
answer
344
views
Check if two git repositories are related
Given two bare non-shallow git repositories, how can I programmatically (via a Python script) check whether they are related? The repositories may have completely different branches, or equally-named ...
0
votes
0
answers
82
views
How to delete merge history of a file in git
I am merging binaries in git repository and keep on updating the binary. Even though I am replacing the binary, the git repository will store the history so size of the repository scales up which I ...
2
votes
2
answers
660
views
android studio VCS local history too short
After I change to a new PC and install new Android Studio 3.4.1, I find the VCS-Local History is much shorter than before in my old PC. Now it keeps about only one month history. Before, it kept much ...
0
votes
1
answer
43
views
Eclipse RCP 4.10 Workbench local file History
the local History provided by Eclipse RCP in my workbench application works amazingly well, but once my Module increases it's size over 1MB the History shows only the timestamp of the last saved ...
0
votes
2
answers
124
views
How do I prevent commits from being removed from github?
See title. Worst case, is there a way I can track the history of commit removals?
2
votes
1
answer
879
views
List and copy a specific named version of a Google Sheets file
Right now I am using this code to create a copy of a specific Spreadsheet.
var fileToCopyID = "...";
var destinationFolderID = "...";
// get the root folder
var destinationFolder = DriveApp....
0
votes
1
answer
248
views
What is difference between Value Log and Audit?
To achieve change tracking in data I serialize object and save it as revision in Value Log table, and for show this changes to end users I prettify and organize value logs to another table as Audit. ...
1
vote
0
answers
172
views
Is there a way to get back the changeset history of the deleted branch?
I'm accustomed with the gitflow approach and git-based repositories.
In my current project we are using TFS with an in-house TFVC based repo and I'm struggling with reviewing the history off changes.
...
1
vote
4
answers
70
views
Is it possible to programatically remove a single past revision from master?
Let's say I have a file with a number of revisions;
initial commit text
revision one
revision two
revision three
revision four
at some later date, I want to remove some change that happened a number ...
1
vote
1
answer
3k
views
Eclipse - Java local history for file
Eclipse local history support a file
Every time an editable file is saved in the Workbench, the Workbench updates the local history of that file and logs the changes that have been made. The local ...
5
votes
5
answers
14k
views
Visual studio code: automatic commit git
Many times, I forget to commit my edits to my git. And if I closed VSCode, I can't use ctrl-Z anymore.
Because, I have git set up, I thought I could use something like an automatic commit every 30sec ...
1
vote
0
answers
38
views
How did such-and-such commit reach me? [duplicate]
Goal (X): I'm looking at a particular line in a file in my git checkout. git blame tells me that this line (in its current form) was first committed in commit 1234abcd which was a commit one of my ...
0
votes
1
answer
332
views
How do I access the revision-history of an edited CMS page in Kentico?
I accidently deleted a widget on a CMS page I'm editing with Kentico. Can I access the revision-history in order to get to a previous version of that page that contained the deleted widget?
1
vote
3
answers
55
views
How to list branches that contain a given commit at or after branch creation point
I realize that this question looks a lot like 1419623, but it's different.
Imagine the following tree:
master
|
N
M
H-J-K-L-O -- branch2
E
C-D-F-G-I -- branch1
B
A
I need a method to tell that ...
-3
votes
1
answer
277
views
Git - rebase commits by an author
In a git project containing an example file named file.txt, I'd like to have a script that:
Parses the current whitespace-separated word (in the example, for the first iteration, this will be ...
2
votes
1
answer
73
views
Do mercurial and git store history of which changesets you've updated to?
Do mercurial and git store a record of what changesets you were on before recent calls to update/checkout? Is that history stored somewhere?
A concrete use case is if you pull/fetch new work on a ...