Comments (2)
We generally adhere to the SVN API. This case is kind of borderline in that there are obviously scenarios where as a GUI client we string together many API calls to build functionality, in this case it is kind of going a bit against the spirit of the feature as it is currently implemented in that the API is not well suited for this. There have been discussions of building a recursive lock/unlock of files into the API but it has not been implemented yet in SVN.
Until there is better API support we probably will not implement this feature, but I would not be against someone contributing the feature if they really want it. Since a user might just assume they can lock a folder and not realize the "details" and the performance impact that is about to happen, I do think any implementation needs to make this clear. At minimum it should be some kind of warning/confirmation dialog though I think a better implementation would be to build a dialog that shows all the files that will be locked and perhaps even give some UI to fine-tune the list once the user can see it. This would probably make it more clear that all of those file locks will be obtained though even then I am not sure the user will really appreciate the client/server traffic that will have to take place.
You should also note that the lock API available to us can only be run against a working copy ... the locks are obtained from and stored on the server but we cannot do locks against a URL. Without API support this is for the best anyway since the recursive list API call that would be needed to get the files from the server is also a fairly expensive API call on some repositories.
from subclipse.
Ok, it's up to you to implement it or not. I just think that it could be a
good feature as I saw it on the Eclipse Subversive plugin. It shows a
dialog with all the files being locked. Then you can agree and continue the
locking or not.
El 15 sept. 2016 21:21, "Mark Phippard" [email protected] escribió:
We generally adhere to the SVN API. This case is kind of borderline in
that there are obviously scenarios where as a GUI client we string together
many API calls to build functionality, in this case it is kind of going a
bit against the spirit of the feature as it is currently implemented in
that the API is not well suited for this. There have been discussions of
building a recursive lock/unlock of files into the API but it has not been
implemented yet in SVN.Until there is better API support we probably will not implement this
feature, but I would not be against someone contributing the feature if
they really want it. Since a user might just assume they can lock a folder
and not realize the "details" and the performance impact that is about to
happen, I do think any implementation needs to make this clear. At minimum
it should be some kind of warning/confirmation dialog though I think a
better implementation would be to build a dialog that shows all the files
that will be locked and perhaps even give some UI to fine-tune the list
once the user can see it. This would probably make it more clear that all
of those file locks will be obtained though even then I am not sure the
user will really appreciate the client/server traffic that will have to
take place.You should also note that the lock API available to us can only be run
against a working copy ... the locks are obtained from and stored on the
server but we cannot do locks against a URL. Without API support this is
for the best anyway since the recursive list API call that would be needed
to get the files from the server is also a fairly expensive API call on
some repositories.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdqM-mbPGo5Zv-3PSLBr6f7emWvB0w1ks5qqZrOgaJpZM4J94y2
.
from subclipse.
Related Issues (20)
- svn: E155011: Commit failed HOT 1
- Could not create the view: org.tigris.subversion.subclipse.ui.repository.RepositoriesView
- support svn cl HOT 1
- Exception "com/ibm/icu/util/StringTokenizer" when opening XML file with XML Editor after installing Subclipse HOT 4
- Add "Show History" menu/button for items in the tree in the CompareEditor
- Revert... reverts unselected files
- Subclipse fails on java 17 HOT 9
- Exception "NoClassDefFoundError: org/eclipse/ui/views/navigator/ResourceSorter" with Eclipse 4.28 HOT 3
- unable to commit file /.settings/org.eclipse.core.resources.prefs HOT 2
- Eclipse 2023-06: Next button on "Checkout from SVN"-dialog is always disabled HOT 2
- Eclipse 2023-06: both "new repository location" and "team | branch/tag" are broken HOT 4
- Commit dialog: sort change list case-insensitive
- IllegalStateException trying to save large CSS file in Graphical Conflict Resolution Editor HOT 1
- slow Performance?
- SVNPluginAction delegates not notified of selection change after first instance of commit dialog HOT 3
- Share project: new repository location ignored
- new version 1.14.2 no javahl_dylib HOT 1
- "Unknown action" when committing HOT 3
- Subclipse asks for password on the console that eclipse was started in HOT 1
- Unable to read repository at https://subclipse.github.io/updates/subclipse/4.3.x/content.xml 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 subclipse.