From: Joe E. <jo...@em...> - 2011-09-06 16:19:27
|
I'm such a SVN n00b... I can't make a branch for my refactor. When I try it from the command line on my Ubuntu box, I do... > svn copy > https://jsynthlib.svn.sourceforge.net/svnroot/jsynthlib/trunk@r1051 > https://jsynthlib.svn.sourceforge.net/svnroot/jsynthlib/branches/UIRefactor-jemenake > --username blahblahblah --password blahblahblah to try to copy release 1051 to a branch called "UIRefactor-jemenake" (because my changes are all based off of r1051). When I try to do this, however, SVN tells me that the second URL is going to be ignored, and then gives me the option to abort/continue/edit. Do I have to make the branch in the SourceForge web interface or something? - Joe |
From: Vladimir A. <vl...@gm...> - 2011-09-06 16:54:14
|
On 09/06/2011 11:19 AM, Joe Emenaker wrote: > I can't make a branch for my refactor. When I try it from the command > line on my Ubuntu box, I do... > >> > svn copy >> > https://jsynthlib.svn.sourceforge.net/svnroot/jsynthlib/trunk@r1051 >> > https://jsynthlib.svn.sourceforge.net/svnroot/jsynthlib/branches/UIRefactor-jemenake >> > --username blahblahblah --password blahblahblah Looks like it should have worked. I just made a sandbox in my user project on SF, created two revisions and brunched from earlier. Here is exact command line i used: svn copy svn+ssh://vl...@sv.../u/vldmr/jsynthlib/code/build.xml@1 svn+ssh://vl...@sv.../u/vldmr/jsynthlib/code/branches For some reason, it prompted for password 4 times, but otherwise worked as expected. In general, I find that it is easier in many cases to work with svn using good gui client. On windows turtoise svn is very good, on linux I use kde-svn. -- Vladimir |
From: Joachim <li...@sd...> - 2011-09-06 22:04:37
|
Hi Joe, according to the CVS-list it worked now. Can you tell us the commands you used? Cheers Joachim Am 06.09.2011 18:19, schrieb Joe Emenaker: > > I'm such a SVN n00b... > > I can't make a branch for my refactor. When I try it from the command > line on my Ubuntu box, I do... > >> svn copy >> https://jsynthlib.svn.sourceforge.net/svnroot/jsynthlib/trunk@r1051 >> https://jsynthlib.svn.sourceforge.net/svnroot/jsynthlib/branches/UIRefactor-jemenake >> --username blahblahblah --password blahblahblah > > to try to copy release 1051 to a branch called "UIRefactor-jemenake" > (because my changes are all based off of r1051). > > When I try to do this, however, SVN tells me that the second URL is > going to be ignored, and then gives me the option to abort/continue/edit. > > Do I have to make the branch in the SourceForge web interface or something? > > - Joe > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Jsynthlib-devel mailing list > Jsy...@li... > https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel > |
From: Joe E. <jo...@em...> - 2011-09-07 04:20:45
|
On 9/6/2011 3:04 PM, Joachim wrote: > Hi Joe, > > according to the CVS-list it worked now. > Can you tell us the commands you used? Well, you're going to be a bit disappointed. First, I used the Subversion tool in Jetbrains IDEA. So, I didn't use command-line. Next, if you look closely, you'll notice that *my* copy doesn't have a "JSynthLib" folder directly beneath the root, it starts with the *contents* of the JSynthLib folder. So, I copied from a level deeper than everybody else does. This isn't really a problem if I'm the only one using the branch, but it was still a mistake. Lastly, I forgot to tell the tool to copy rev 1051, so it copied the latest revision. I can't use that. So, now, I'm trying to figure out how to delete that and do it over. The Jetbrains tool doesn't have a delete function. The linux svn tool keeps telling me that it's going to ignore that command from the list it's actually going to execute. And Soureforge's web interface doesn't offer it, either. I may have to install Tortoise, but I really want to see why the linux svn tool is failing for any command that requires authentication/credentials. - Joe |
From: Vladimir A. <vl...@gm...> - 2011-09-07 13:24:27
|
On 09/06/2011 11:20 PM, Joe Emenaker wrote: > On 9/6/2011 3:04 PM, Joachim wrote: >> > Hi Joe, >> > >> > according to the CVS-list it worked now. >> > Can you tell us the commands you used? > Well, you're going to be a bit disappointed. > So I was trying to figure out what might be wrong with linux command line and along the way just created branch from needed revision, which you may keep, or may delete and create anew, if my report would help you resolve your problem. When using https access from command line I was getting first prompt for gnome keyring, and then authentication error: -------------------------------------------- Password for '(null)' GNOME keyring: svn: MKACTIVITY of '/svnroot/jsynthlib/!svn/act/7f22cffe-6d97-4efb-8504-4731f86db06f': authorization failed: Could not authenticate to server: rejected Basic challenge (https://jsynthlib.svn.sourceforge.net) -------------------------------------------- Well, I do not have complete gnome installed, so I went to edit ~/.subversion.config and changed this: password-stores = gnome-keyring, kwallet to this: password-stores = kwallet After doing that the following commands first asked me for password to kde password store, then for my SF username and password, and everything worked as expected. Exact commands were (spelling of original, sorry for leaving misspelled messages, I wish there was a spell checker in console): ------------------------------------------------ svn copy https://jsynthlib.svn.sourceforge.net/svnroot/jsynthlib/trunk/JSynthLib https://jsynthlib.svn.sourceforge.net/svnroot/jsynthlib/branches/UIRefactor -r 1051 -m "Refactoring effor by Joe Emenaker" svn del https://jsynthlib.svn.sourceforge.net/svnroot/jsynthlib/branches/UIRefactor-jemenake -m "Branch cretaed from wrong revision, correct revision used for branches/UIRefactor, removing this as unneeded" ------------------------------------------------ -- Vladimir |