You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by JfK Viper <jf...@gmail.com> on 2007/10/01 04:01:18 UTC
Re: Fwd
Thanks, Lakshman,
What I did was I checked out everything from my /project/branch and then
removed all .svn files from all the folders and then deleted the whole
/project/trunk
/branches/
/tags
and then I did mkdir /project/trunk
/branches/
/tags
and then copied all those files and folders, that were checked out earlier
from where .svn folders were removed, to my /trunk folder and then did
initial import using svn import
After I did all that then I went ahead and created branches from that trunk
using svn copy https://../project/trunk https://../project/branches/test1
And everything is fine now.
Regarding trying svn merge -r 1:HEAD https://../project/branch/test1 , I
tried and I got some error. But I will try this again sometime this week and
see how it goes as I am getting caught up with other things for right now.
Thanks for your wonderful help. I really really appreciate all the help and
information that you gave me.After I get back to svn merge I will let you
all know about my latest update.
Thanks a lot.
On 9/30/07, Srilakshmanan, Lakshman <
lakshman.srilakshmanan@police.vic.gov.au> wrote:
>
> Hi,
>
> Yes your plan below will work. But I am a bit confused as to why you would
> create /project/trunk /project/branches & /project/tags. I thought you
> already had this project setup ?
>
> > What happens if I checkout all the files from /branch/test and then
> remove all .svn files and then makedir /project
> >
> /trunk
> >
> /branches
> >
> /tags
> > and then copy the code to /trunk folder and then do initial import and
> then create branches.
>
> An easier option would be to (I thought of this weekend)
> cd project-trunk
> svn merger -r 1:HEAD https://.../project/branch/test
>
> You should be able to merge from branch "test" straight into trunk and
> preserve ancestry
>
> Thanks
> Lakshman
> ------------------------------
> *From:* Binod [mailto:binod3@gmail.com]
> *Sent:* Friday, 28 September 2007 5:26 PM
> *To:* Srilakshmanan, Lakshman
> *Cc:* JfK Viper; users@subversion.tigris.org
> *Subject:* Re: Fwd
>
> Nope I hadn't commited the working file to repository, and I guess thats
> why I was getting other errors earlier.
>
> Now when I try to commit using svn commit --force-log --file test
> i get errors like svn: Log message contains a zero byte
>
>
> In the mean time I also would want to know the consequences of plan that I
> proposed earlier. I checkout all the files from repository. (remove the .svn
> files)
>
> Wipe out the whole project and create a new project, trunk, tag, branch
> directory and put those files under trunk and do an initial import and then
> branch it out. What will be the drawback of this approach? Any thoughts ?
>
> Today has been one of those days where I have been able to do inside out
> practice only on subversion related commands and also been able to get
> indepth knowledge on Merging procedure.
>
> Very Very thanks to you SRILAKHSMAN.
>
>
>
>
> On 9/28/07, Srilakshmanan, Lakshman <lakshman.srilakshmanan@police.vic.gov.au
> > wrote:
> >
> > I am assuming you have commited your working copy of branch-initial
> > into subversion.
> >
> > cd project-trunk
> > svn merge -r 1329:HEAD https://.../project/branch/initial
> >
> > ------------------------------
> > *From:* Binod [mailto:binod3@gmail.com]
> > *Sent:* Friday, 28 September 2007 4:41 PM
> > *To:* Srilakshmanan, Lakshman
> > *Cc:* JfK Viper; users@subversion.tigris.org
> > *Subject:* Re: Fwd
> >
> > What happens if I checkout all the files from /branch/test and then
> > remove all .svn files and then makedir /project
> >
> > /trunk
> >
> > /branches
> >
> > /tags
> >
> > and then copy the code to /trunk folder and then do initial import and
> > then create branches.
> > This way I will have the latest stable code from /branches and this will
> > be the starting point.
> >
> > Thanks
> >
> >
> > On 9/28/07, Binod <bi...@gmail.com> wrote:
> > >
> > > Here is further information, if you can help on this, that would be
> > > great.
> > >
> > > bash-3.00$ svn log -v --stop-on-copy
> > > svn://...../Project/branches/initial
> > > ------------------------------------------------------------------------
> > >
> > > r1330 | svn | 2007-09-27 23:03:05 -0500 (Thu, 27 Sep 2007) | 1 line
> > > Changed paths:
> > > A /Project/branches/initial (from /Project/trunk:1329)
> > >
> > > creating initial project
> > >
> > >
> > > bash-3.00$ svn log -v --stop-on-copy
> > > https://..../Project/trunk
> > >
> > > ------------------------------------------------------------------------
> > > r433 | bpandey | 2007-06-20 17:41:05 -0500 (Wed, 20 Jun 2007) | 1 line
> > >
> > > Changed paths:
> > > A /Project (from /Project:432)
> > > D /Project
> > >
> > > Renaming directory
> > >
> > > Thanks,
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > ================================================================================================
> > EMAIL DISCLAIMER
> >
> > This email and any attachments are confidential. They may also be subject to copyright.
> >
> > If you are not an intended recipient of this email please immediately contact us by replying
> >
> > to this email and then delete this email.
> >
> > You must not read, use, copy, retain, forward or disclose this email or any attachment.
> >
> > We do not accept any liability arising from or in connection with unauthorised use or disclosure
> >
> > of the information contained in this email or any attachment.
> >
> > We make reasonable efforts to protect against computer viruses but we do not accept liability
> > for any liability, loss or damage caused by any computer virus contained in this email.
> >
> > ================================================================================================
> >
> >
> ================================================================================================
> EMAIL DISCLAIMER
>
> This email and any attachments are confidential. They may also be subject to copyright.
>
> If you are not an intended recipient of this email please immediately contact us by replying
> to this email and then delete this email.
>
> You must not read, use, copy, retain, forward or disclose this email or any attachment.
>
> We do not accept any liability arising from or in connection with unauthorised use or disclosure
> of the information contained in this email or any attachment.
>
> We make reasonable efforts to protect against computer viruses but we do not accept liability
> for any liability, loss or damage caused by any computer virus contained in this email.
> ================================================================================================
>
>
Re: Fwd
Posted by Jeremy Pereira <je...@jeremyp.net>.
On 1 Oct 2007, at 23:31, Ryan Schmidt wrote:
> On Oct 1, 2007, at 08:16, Bicking, David (HHoldings, IT) wrote:
>
>>>>
>> I just read this whole thread in horror (I was days behind).
>> Perhaps I
>> missed something, but it was like watching a train wreck. The
>> original
>> question, as I saw it, was "Given that I started development in
>> branch/test, I now want to 'merge' it to trunk (which is empty).
>> How do
>> I do that?"
>>
>> To me, the answer was "Move the contents of 'branch/test1' to
>> 'trunk'.
>> Delete test1." Instead, I watched a horribly contorted series of
>> maneuvers that resulted in lost history. Did I miss something
>> important
>> in this thread?
>
> I agree. Can't imagine why it took so long for someone to actually
> answer the question the user asked. But Jeremy did eventually
> provide it:
>
> http://svn.haxx.se/users/archive-2007-09/0913.shtml
>
>>
Thanks for that. I've been skimming through the rest of this thread
and wondering what I misunderstood because everybody ignored my
answer and started talking about dump/loads etc FFS.
I've come to the conclusion I should have put the answer first,
before indulging in the "I wouldn't start from here" story. BTW I
also came to the thread late which is why it took me so long to
provide my answer.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Fwd
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 1, 2007, at 08:16, Bicking, David (HHoldings, IT) wrote:
>>> What I did was I checked out everything from my
>>> /project/branch and
>>> then removed all .svn files from all the folders and then
>>> deleted the
>>> whole /project/trunk
>>> /branches/
>>> /tags
>>>
>>> and then I did mkdir /project/trunk
>>> /branches/
>>> /tags and then copied all
>>> those files and folders, that were checked out earlier from
>>> where .svn
>>> folders were removed, to my /trunk folder and then did
>>> initial import
>>> using svn import
>>>
>>> After I did all that then I went ahead and created branches
>>> from that
>>> trunk using svn copy https://../project/trunk https://../
>>> project/branches/test1
>>>
>>> And everything is fine now.
>>
>> [snip]
>>
>> Except that your project is now disconnected from its history
>> (svn log on the project will not be able to show anything
>> earlier than this import). But if you meant to do that, and
>> don't mind that everything that you imported is now stored as
>> a full version and not as a delta against a previous
>> revision, then everything's fine.
>
> I just read this whole thread in horror (I was days behind).
> Perhaps I
> missed something, but it was like watching a train wreck. The
> original
> question, as I saw it, was "Given that I started development in
> branch/test, I now want to 'merge' it to trunk (which is empty).
> How do
> I do that?"
>
> To me, the answer was "Move the contents of 'branch/test1' to 'trunk'.
> Delete test1." Instead, I watched a horribly contorted series of
> maneuvers that resulted in lost history. Did I miss something
> important
> in this thread?
I agree. Can't imagine why it took so long for someone to actually
answer the question the user asked. But Jeremy did eventually provide
it:
http://svn.haxx.se/users/archive-2007-09/0913.shtml
> BTW JfK, if this is the only project in the repository, and you don't
> care about the history, it would be better to replace your original
> repository with a blank one, THEN import your project. If you
> wanted to
> keep history, the solution in my second paragraph would have done the
> trick.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Re: Fwd
Posted by "Bicking, David (HHoldings, IT)" <Da...@thehartford.com>.
> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2007b@ryandesign.com]
> Sent: Monday, October 01, 2007 4:24 AM
> To: JfK Viper
> Cc: Srilakshmanan, Lakshman; Binod; users@subversion.tigris.org
> Subject: Re: Fwd
>
> On Sep 30, 2007, at 23:01, JfK Viper wrote:
>
> > What I did was I checked out everything from my
> /project/branch and
> > then removed all .svn files from all the folders and then
> deleted the
> > whole /project/trunk
> > /branches/
> > /tags
> >
> > and then I did mkdir /project/trunk
> > /branches/
> > /tags and then copied all
> > those files and folders, that were checked out earlier from
> where .svn
> > folders were removed, to my /trunk folder and then did
> initial import
> > using svn import
> >
> > After I did all that then I went ahead and created branches
> from that
> > trunk using svn copy https://../project/trunk https://../
> > project/branches/test1
> >
> > And everything is fine now.
>
> [snip]
>
> Except that your project is now disconnected from its history
> (svn log on the project will not be able to show anything
> earlier than this import). But if you meant to do that, and
> don't mind that everything that you imported is now stored as
> a full version and not as a delta against a previous
> revision, then everything's fine.
>
I just read this whole thread in horror (I was days behind). Perhaps I
missed something, but it was like watching a train wreck. The original
question, as I saw it, was "Given that I started development in
branch/test, I now want to 'merge' it to trunk (which is empty). How do
I do that?"
To me, the answer was "Move the contents of 'branch/test1' to 'trunk'.
Delete test1." Instead, I watched a horribly contorted series of
maneuvers that resulted in lost history. Did I miss something important
in this thread?
BTW JfK, if this is the only project in the repository, and you don't
care about the history, it would be better to replace your original
repository with a blank one, THEN import your project. If you wanted to
keep history, the solution in my second paragraph would have done the
trick.
--
David
*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Fwd
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 30, 2007, at 23:01, JfK Viper wrote:
> What I did was I checked out everything from my /project/branch
> and then removed all .svn files from all the folders and then
> deleted the whole /project/trunk
> /branches/
> /tags
>
> and then I did mkdir /project/trunk
> /branches/
> /tags
> and then copied all those files and folders, that were checked out
> earlier from where .svn folders were removed, to my /trunk folder
> and then did initial import using svn import
>
> After I did all that then I went ahead and created branches from
> that trunk using svn copy https://../project/trunk https://../
> project/branches/test1
>
> And everything is fine now.
[snip]
Except that your project is now disconnected from its history (svn
log on the project will not be able to show anything earlier than
this import). But if you meant to do that, and don't mind that
everything that you imported is now stored as a full version and not
as a delta against a previous revision, then everything's fine.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Rant about "Fwd" and "svn update failed"
Posted by Jeremy Pereira <je...@jeremyp.net>.
Sorry about this slight rant.
My mail viewer has an option to view mails in threads which is very
helpful for the subversion list in that it sorts the incoming mail
into coherent conversations. It does this by examining the "in-reply-
to" header (I think). The functionality is common to a number of
mail viewers.
Can I ask that when starting a new conversation on this list you do
not reply to an existing message and merely strip out the title and
text. My mail reader is treating both topics in the title of this
mail as the same conversation either because there is a bug in it or
because somebody started one of these threads by replying to a post
in the other. I believe this little tip is in the list guidelines.
Sorry again for that little whinge.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org