Comments (9)
I don't know what this means.
It is not possible to remove revisions from the repository.
It is already possible to revert changed files in a working copy.
It is already possible to update files in a working copy to any specific
revision.
I welcome suggestions, but please be specific and explain what you mean.
Original comment by [email protected]
on 23 Jul 2009 at 6:48
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from svnx.
let's say you made 20 commits with revision numbers 1000-1020, so your working
copy
is at revision 1020, but you only and you want to revert changes made in
revision 1010.
Original comment by [email protected]
on 23 Jul 2009 at 7:02
from svnx.
You can't "revert" a change. How would that work?
You can, however, already merge the change in reverse.
Try it.
Original comment by [email protected]
on 23 Jul 2009 at 7:09
from svnx.
you can revert a change in your working copy, i am new to mac osx environment,
but
this feature is used heavily in TortoiseSVN
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-howto-rollback.html
check item number 3. Context Menu → Revert changes from this revision
Original comment by [email protected]
on 23 Jul 2009 at 7:24
from svnx.
Their use of "revert" is not the save as Subversion's.
"revert: Restore pristine working copy file (undo most local edits)."
Their use of "revert" means "reverse merge". Read the line after the title
"Use the merge dialog".
A reverse merge will TRY to undo a change. It may leave a file in a Conflicted
state.
In svnX you simply click the radio button of the revision log in the repository
(to specify a revision) &
then drag the file or folder from the repository browser into the working copy
window,
click Reverse Merge & then OK.
This is a first cut at the UI in svnX. It will, undoubtedly, evolve.
Original comment by [email protected]
on 23 Jul 2009 at 7:47
from svnx.
I believe the OP is asking about the following. Suppose, for example, one's
repo is this:
(revision 1) created a repository "foobar" with one file: foo
(revision 2) changed the file foo
(revision 3) changed foo again, at a different line
The OP wants to undo the changes committed at revision 2, but not lose the
changes committed at revision 3,
and do it in one command. This would be the equivalent of something like
svn update
svn diff -r2:1 > patchfile
patch < patchfile
but this doesn't work in general, since changes to a file in subsequent
revisions may throw off line numbering
cause the patch to fail. But svn, knowing the entire revision history, could
probably figure it out, in any case
where subsequent revisions didn't disturb the specific changes one is trying to
undo.
Even this doesn't work:
svn update
svn commit
svn diff -rHEAD:1 |patch
svn diff -r2:HEAD |patch
Original comment by [email protected]
on 4 Aug 2009 at 10:04
from svnx.
Yes, in windows envrionement we use TortoiseSVN we has never manage to fail us,
unfortunately we never manage to find something similar on the mac platform.
Original comment by [email protected]
on 4 Aug 2009 at 10:11
from svnx.
It's probably not a good idea to use `svn diff ... | patch` in general.
Subversion has the merge command for this ...
which is why svnX provides merge support.
Does this not solve the issue?
A future version of svnX could also allow dragging directly from the
repository's log to initiate a merge -
in which case svnX would then have to calculate/guess the URL.
Anyway, this _discussion_ should be moved to
http://groups.google.com/group/svnx.
Original comment by [email protected]
on 5 Aug 2009 at 12:00
from svnx.
Code committed in r135 now allows the user to initiate a (reverse) merge by
dragging an entry from a Repository
window's log view or a log entry's changed path into a Working Copy window.
The merge sheet is then displayed where the merge may be further customised.
Original comment by [email protected]
on 14 Apr 2010 at 1:15
- Changed state: Done
from svnx.
Related Issues (20)
- Revert from the review window HOT 1
- cant get password error HOT 2
- Code changes where? HOT 6
- How to remove Lock? HOT 2
- svn can't use self signed certificates HOT 2
- Support Diff for two separate revision with selected files HOT 6
- Working Copy shows path but leading character is missing HOT 7
- Won't run on OS X 10.9 HOT 3
- SvnX and Mavericks doesn't work HOT 6
- Merge Issue HOT 8
- How can i change a working copy URL HOT 3
- Filenames with umlaute are not supported HOT 1
- Retain sort preferences across application restarts HOT 1
- utf-8 decomposed characters in path to the working copy prevents tree view from working HOT 12
- checkout working copy in mac HOT 1
- merge from trunk to branch chooses wrong target HOT 4
- Repository browser freeze when browsing mirrored repository HOT 2
- How to create SVN diff patch file HOT 1
- Recover deleted files upon reverted back. HOT 4
- Diff merge with Kdiff3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svnx.