On Wed, Aug 17, 2016 at 10:30 AM, Jacques PYRAT <jpy...@gmail.com> wrote:

> Sasa Ostrouska a écrit le 17/08/2016 à 12:25 :
>
>
>
> On Wed, Aug 17, 2016 at 10:10 AM, Jacques PYRAT <jpy...@gmail.com> wrote:
>
>> Xebax a écrit le 17/08/2016 à 11:23 :
>>
>> Hi,
>>
>> I've done some tests. Try with --ignore-ancestry, that should work:
>> svn sw --ignore-ancestry ^/tags/3.9.3/htdocs
>>
>> But you really should do the install and upgrade using the tarballs or
>> any other documented and officially supported method.
>>
>> I do this with dolibarr since 3.4 version.
>> The problem with SVN arise once in the past.
>> See "Bad history for 3.5.1 tag on GitHub (with SVN)" thread on 14/03/2014
>>
>> It was fixed at that time.
>>
>> And I don't like using the .tgz method because it leaves old file that
>> are no longer part of new version in place, with potential security risks.
>>
>> I've learned the SVN way with SPIP ;-)
>> SVN update old file, put new files, and *remove* file that were in the
>> repository but no longer in the new version.
>>
>> Regards.
>>
>>
> I also like SVN and use it for some of my projects, but Dolibarr uses git,
> so the best thing you do is to switch to git from svn.
> Basically with git you can do same things as with svn and some more. It
> should be easy to switch to git if you are used to svn.
>
> I've not found a tutorial to do the same thing.
>
>  http://git.or.cz/course/svn.html <-- See this link in the middle of the
page somewhere there is a svn switch example what in git should be a simple
checkout.
Try to google a bit, this was one of the first options google.com outputed
for me.

And it would be useless on my installation : how do I switch easily from
> SVN to GIT ?
>
I would say that if you have some custom code, I would do a svn diff >
mycode.patch then checkout the git tree and apply the patch.


>
> And GitHub support SVN !
>
> It supports it but I think you miss all the git benefits.


> Regards,
>
Rgds
Saxa

>
> _______________________________________________
> Dolibarr-dev mailing list
> Dolibarr-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>
>
_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à