Comments (5)
The view of the SVN Rev Properties can work now after I changed ths source code of subclipse? But I don't understand how it can commit the svn:log, svn:date, svn:username of reversion properties when commit the changed file to the svn server? Someone can help me? Thank you!
from subclipse.
svn:log comes from the commit message provided to the commit API. The user and date cannot be set by the client during a commit. The server sets those properties. The user comes from the username used to authenticate with the server and the date of course is based on the clock of the server.
from subclipse.
Thank you very much for your patient answer. Now, I have understanded it.And I will try to resolve it in soon afterwards. Wish everything goes well with you ! Thank you again.
from subclipse.
SVNCommitClient commitClient = clientManager.getCommitClient();
Map<String, String> map = new HashMap<String, String>();
map.put("hik:project", "TestProject");
// TODO add custom svnProperties
SVNProperties svnProperties = new SVNProperties();
SVNProperties svnPropertiesAdd = svnProperties.wrap(map);
commitInfo = commitClient.doImport(localPath, dstUrl, commitMessage, svnPropertiesAdd, false, false, SVNDepth.INFINITY);
Now, I can use the api of svnkit.jar to add some custom revision property ("hik:project", "TestProject") to the svn server when I commited some file to the svn server. But I can't find the same implemation of CommitAction.java or CommitOperation.java in the project of subclipse.ui. Would you give me advice? I'm sorry to trouble you again! Thank you?
from subclipse.
Hello, markphp. I finished the work of subclipse。I decompiler the svnkit.jar and adapter-javahl.jar, and change the commit method of AbstractJhlClientAdapter.java。so, I can commit Custom revision properties.
Thank you very much for your assistance. Good luck with you. @markphip
from subclipse.
Related Issues (20)
- 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 2
- "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
- create/apply patch encoding problem 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.