• I was trapped by the following scenario: I had a new set update to the production version, let's say revision 371 A couple of changes are just reverting files back to revision ... So I just revert ...
I was trapped by the following scenario:
I had a new set update to the production version, let's say revision 371
A couple of changes are just reverting files back to revision 369. So I just revert the files in my working copy back to revision 369.
Few weeks later client approved all changes and request me to implement.
I just right click my working copy and run "Check For Modifications", the changes files listed would be transferred to production environment.
However today I realised the file revertted back to revision 369 were not implemented. I thought it is just my oversight and not see those changes.
But the reverted file do have green tick meaning there were no changes to them.
After reading the explaination on web, It shows the revert file are not treated as changes.

***I learnt that we also need to run "Check For Modifications" then click "Check Repository" and this can show the difference to the latest version on repository.

To prevent the issue and do the committable revert, following inform works for me:
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-howto-rollback.html

Roll back (Undo) revisions in the repository

Use the revision log dialog

By far the easiest way to revert the changes from one or more revisions, is to use the revision log dialog.

Select the file or folder in which you need to revert the changes. If you want to revert all changes, this should be the top level folder.

Select TortoiseSVN → Show Log to display a list of revisions. You may need to use Show All or Next 100 to show the revision(s) you are interested in.

Select the revision you wish to revert. If you want to undo a range of revisions, select the first one and hold the Shift key while selecting the last one. If you want to pick out individual revisions and ranges, use the Ctrl key while selecting revisions.Right click on the selected revision(s), then select Context Menu → Revert changes from this revision.

Or if you want to make an earlier revision the new HEAD revision, right click on the selected revision, then select Context Menu → Revert to this revision. This will discard all changes after the selected revision.

You have reverted the changes within your working copy. Check the results, then commit the changes.

Use the merge dialog

If you want to enter revision numbers as a list, you can use the Merge dialog. The previous method uses merging behind the scenes; this method uses it explicitly.

In your working copy select TortoiseSVN → Merge.

In the Merge Type dialog select Merge a range of revisions.

In the From: field enter the full repository URL of your working copy folder. This should come up as the default URL.

In the Revision range to merge field enter the list of revisions to roll back (or use the log dialog to select them as described above).

Make sure the Reverse merge checkbox is checked.

In the Merge options dialog accept the defaults.

Click Merge to complete the merge.

You have reverted the changes within your working copy. Check that the results are as expected, then commit the changes.

Use svndumpfilter

Since TortoiseSVN never loses data, your “rolled back” revisions still exist as intermediate revisions in the repository. Only the HEAD revision was changed to a previous state. If you want to make revisions disappear completely from your repository, erasing all trace that they ever existed, you have to use more extreme measures. Unless there is a really good reason to do this, it is not recommended. One possible reason would be that someone committed a confidential document to a public repository.
The only way to remove data from the repository is to use the Subversion command line toolsvnadmin. You can find a description of how this works in the Repository Maintenance .

转载于:https://www.cnblogs.com/yangbin990/p/4276302.html
展开全文
• ## Revert

2020-12-27 08:56:01
We might be in integration hell land will all of your separate PRs. I don't see how to immediately fix this, it's missing a required parameter. Also there was a separate duplicate parameter ...
• <div><p>JMS serializer in 1.7.0 will revert a BC break introduced in 1.6.1. <p>https://github.com/schmittjoh/serializer/pull/744 (that was fundamental for ...
• ## 【SVN命令】之 revert

千次阅读 2013-12-21 15:34:32
名称 子命令Svn revert — 取消所有的本地编辑。 概要 子命令Svn revert PATH......Reverts any local changes to a file or directory and resolves any ... Svn revert will revert not only the contents of an i


名称
子命令Svn revert — 取消所有的本地编辑。

概要子命令Svn revert PATH...描述
Reverts any local changes to a file or directory and resolves any conflicted states. Svn revert will revert not only the contents of an item in your working copy, but also any property changes. Finally, you can use it to undo any scheduling operations that
you may have performed (e.g., files scheduled for addition or deletion can be “unscheduled”).

选项--changelist ARG
--depth ARG
--quiet (-q)
--recursive (-R)
--targets FILENAME

下面我们来看一下子命令Svn revert例子：
1.丢弃对一个文件的修改：
$Svn revert foo.c Reverted foo.c 2.如果你希望恢复一整个目录的文件，可以使用--depth=infinity选项：$ Svn revert --depth=infinity .Reverted newdir/afileReverted foo.cReverted bar.txt3.最后，你可以取消预定的操作：$svn add mistake.txt whoopsA mistake.txtA whoopsA whoops/oopsie.c$ Svn revert mistake.txt whoopsReverted mistake.txtReverted whoops\$ svn status?      mistake.txt?      whoops。SVN的子命令Svn revert的一些相关问题就介绍到这里，请你关注本节的其他文章介绍。

展开全文
• deleted versions and leave untouched create records and after revert we will have both created and deleted records in m2m relation.. But revert method has paramater - delete. I tryed to use it and ...
• <p>After submitting your PR, CI checks will run and -tim-bot will check for your CLA signature. <p>For nontrivial changes, we will conduct both a design review and a code review. Please tag a core ...
• <div><p>This reverts commit 1f9b19e483967168095d757abec4ccbd2a64a52f. <p>Ref: ...<p>/assign </p><p>该提问来源于开源项目：kubernetes/test-infra</p></div>
• <p>Will look into building on this with this chewie PR - the mocking is similar. https://github.com/faucetsdn/chewie/pull/52/</p><p>该提问来源于开源项目：faucetsdn/faucet</p></div>
• <div><p>I see a lot of <code>BAD JUMP DESTINATION...<p>It seems Uniswap exchange called by another smart contract will eat all of its gas.</p><p>该提问来源于开源项目：Uniswap/uniswap-v1</p></div>
• A current new PR will not introduce my changes though as it basically will be aplied, then immediately reverted by your later commit. <p>Please see: ...
• <div><p>I was wondering, the revert button looks like the 'old revisions' button. I already clicked ... will confirm it directly.</p><p>该提问来源于开源项目：splitbrain/dokuwiki</p></div>
• d like to basically revert what we did in #101, but with a slight change to things... <p>We still need to deal with this: <p><code>nps foo --silent --bar</code></p> <p>Does the <code>--silent</code>...
• <div><p>…me. Add the same time I've made the output a little bit nicer. <p>Before: ...<p>After: ...<p>As you can see also the "marked as done" fields are aligned now....ultralist/ultralist</p></...
• <div><p>I have a page full of images that have onClicks on them, every time one of the buttons is pressed it reverts back to the beginning, I found the translate that is moving the scroll....
• <p>This and https://github.com/edgexfoundry/go-mod-core-contracts/pull/178 will close https://github.com/edgexfoundry/edgex-go/issues/1851</p><p>该提问来源于开源项目：edgexfoundry/edgex-go</p></...
• <div><p>…me terrible network circumstances," <p>This reverts commit c2df5ba8d33b5774a35d5bc06289a7808149a337.</p><p>该提问来源于开源项目：apache/trafficserver</p></div>
• <div><p>This change adds <code>Repository.revert_commit()</code> which wraps around <code>git_revert_commit</code> which will return an <code>Index</code> with the appropriate changes to revert the ...
• These changes regarding multi-region will be pushed to <code>feature/master-controller-manager</code> branch <p><strong>Which issue(s) this PR fixes</strong> (optional, in <code>fixes #<issue ...
• This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process. <h3>PR information <ul><li>[x] The title of ...
• <div><p>The "...<p>Reverting will also make it easier to tweak the stat independently for history stats and cmh stats.</p><p>该提问来源于开源项目：official-stockfish/Stockfish</p></div>
• This will help if you have a hot checkout of your project which your build script may manipulate and then need to revert i.e. running grunt or gulp for production. <p>...
• <div><p>...specific discrete tip amounts</p><p>该提问来源于开源项目：gratipay/gratipay.com</p></div>
• s, <strong>no red reviews, and <strong>all tests are green</strong> it will be included in the <a href="https://github.com/dcos/dcos/blob/master/contributing.md">next train</a>.</p><p>该提问来源于开源...
• t really updated by the video renderer and will show whatever it's left in framebuffer there. This causes a really ugly effect, especially after displaying backup camera. <p>Also, according to AA ...
• QA will change the test cases to fit for new naming rules, but its needs some time, before that are finished, temporarily revert the commit that changing the naming rule.</p><p>该提问来源于开源项目&#...
• <div><p>Made an example of ... This operation will revert all of the features before deploying to test or live.</p><p>该提问来源于开源项目：pantheon-systems/quicksilver-examples</p></div>
• From the command line - git will cleanup the operation state (unless you are reverting with the --no-commit option). <p>This change is to update Revert to follow that behavior. One thing I considered...
• <div><p>Is there any documentation on how the revert is performed? In the README example, if I ADD_TODO 3 times, and the first one reverts, will the 2nd and 3rd ADD_TODOs go through? Does it just re-...
• It will ask to the node for the failing transaction. <p>In the new version of web3j that was integrated into Eventeum it was added the revert reason in the EthCall: ...
• , I revert "Revert pull req #36, #37, #38" on this branch. <p>And I will test this branch for a while and there will be no problem, I will release as v0.2.0. <p>Thanks.</p><p>该提问来源于开源...

...