Author Topic: New repository, how to ... ?  (Read 8266 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 824
New repository, how to ... ?
« on: March 28, 2013, 09:35:13 am »
I tried to synchronize my "old" svn berlios configuration with the new one on sf, but i don't succeed. Is is actually reserved for developers ?
I tried several things in relocating svn configuration, but obtained different errors : access forbidden, ...trunk is not the repository root, etc...
Could you be more precise on how to relocate, if it's possible for a "standard" user (not a developer), having only http access (svn protocol is not authorized in our company).

Thanks

gd_on
Windows 11 64 bits (24H2), svn C::B (last version or almost!), wxWidgets 3.2.8 (tests with 3.3), Msys2 Compilers 15.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: New repository, how to ... ?
« Reply #1 on: March 28, 2013, 10:11:46 am »
If you don't want to do a fresh checkout, you should use svn relocate: http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html .

As far as I know, there is also a relocate command in TortoisSVN, the switch command is deprecated since svn 1.7 : http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.switch.html .

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: New repository, how to ... ?
« Reply #2 on: March 28, 2013, 01:42:03 pm »
As far as I know, there is also a relocate command in TortoisSVN, the switch command is deprecated since svn 1.7 : http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.switch.html .
Relocate does not work as the ID of the repo has changed. It is meant if you e.g. change the server's name/IP, but keep the code-base. You REALLY need to do a clean fresh checkout.

Use a Sync tool of your choice to merge changes afterwards OR create a large patch before from the old working copy and apply it to the new working copy.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline gd_on

  • Lives here!
  • ****
  • Posts: 824
Re: New repository, how to ... ?
« Reply #3 on: March 28, 2013, 02:46:41 pm »
Effectively, I had also this problem of ID.
So, I made a complete new checkout and it's ok now.

Oops, not exactly Ok because there is a problem in fortranproject cbp(s) : compilation of the new tab2space is missing !
Simply add it, and everything is OK again.

gd_on
Windows 11 64 bits (24H2), svn C::B (last version or almost!), wxWidgets 3.2.8 (tests with 3.3), Msys2 Compilers 15.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline gd_on

  • Lives here!
  • ****
  • Posts: 824
Re: New repository, how to ... ?
« Reply #4 on: March 28, 2013, 03:21:44 pm »
On berlios there was a page where it was possible to have a quick look of differences between versions : http://svn.berlios.de/wsvn/codeblocks/?op=log&
(containing the same informations than in svn logs)
Is there an equivalent on SF ?

gd_on
« Last Edit: March 28, 2013, 03:51:59 pm by gd_on »
Windows 11 64 bits (24H2), svn C::B (last version or almost!), wxWidgets 3.2.8 (tests with 3.3), Msys2 Compilers 15.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: New repository, how to ... ?
« Reply #5 on: March 28, 2013, 04:10:03 pm »
On berlios there was a page where it was possible to have a quick look of differences between versions : http://svn.berlios.de/wsvn/codeblocks/?op=log&
(containing the same informations than in svn logs)
Is there an equivalent on SF ?

gd_on
see log
Or, use CommitMonitor tool under Windows.
« Last Edit: March 28, 2013, 04:12:11 pm by ollydbg »
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline p2rkw

  • Almost regular
  • **
  • Posts: 142
Re: New repository, how to ... ?
« Reply #6 on: March 30, 2013, 01:03:03 am »
And what about patches, where can I upload them in a future?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: New repository, how to ... ?
« Reply #7 on: March 31, 2013, 05:08:27 pm »
And what about patches, where can I upload them in a future?
The same place as always. BerliOS.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: New repository, how to ... ?
« Reply #8 on: March 31, 2013, 11:55:55 pm »
http://cb.biplab.in/websvn/
The link above has the same interface as berlios'  websvn.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.