Re: P4 question. not really a freebsd but using with freebsd
On 12/13/13, 2:48 AM, Julian Elischer wrote: so I have a freebsd tree checked into perforce. one particular subdirectory has been heavily modified to teh extent that it's not really hte same thing any more and I want to move it out to a separate place, and then replace it with the original contents so I can update the tree and get changes to that original directory. the only way I can thi sorry.. something weird happened there.. I left this email partly written to go do something else and Tunderbird seems to have sent it out several times while I was away instead of doing saves to disk.. this happened immediately after upgrading to a new Thunderbird so I think they may have a bug there. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: P4 question. not really a freebsd but using with freebsd
On 12/13/13, 6:59 AM, Shane Ambler wrote: On 13/12/2013 06:00, Julian Elischer wrote: so I have a freebsd tree checked into perforce. one particular subdirectory has been heavily modified to teh extent that it's not really hte same thing any more and I want to move it out to a separate place, and then replace it with the original contents so I can update the tree and get changes to that original directory. I can think of two ways to do this: # move the modified one out p4 open p4 move //depot/Freebsd/src1/sys/netatalk/... //depot/Freebsd/src1/sys/netmumble/... followed by: # bring back the original version by copying it from before changes started. p4 integrate //depot/Freebsd/src1/sys/netatalk/...@original_import //depot/Freebsd/src1/sys/netmumble/... p4 resolve p4 submit Or, a second alternative: not quite sure how to do this if there are deletions and additions on the tree #copy out the modified version. #revert the directory in question to exactly how it was before the changes started files in netmumble should see all their history even when they were in netatalk, and files now in netatalk should see history from before the changes started, and MAYBE from when they were modified (optional). Personally, using svn I would use the second approach mv netatalk netmumble rm -R netmumble/.svn svn co netatalk diff -ru netatalk netmumble or cp then svn revert would give the same result. unfortunately I have to use P4 :-/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: P4 question. not really a freebsd but using with freebsd
On 13/12/2013 06:00, Julian Elischer wrote: > so I have a freebsd tree checked into perforce. > one particular subdirectory has been heavily modified to teh extent > that it's not really hte same thing any more and I want to move it out > to a separate place, and then replace it with the original contents so I > can update the tree and get changes to that original directory. > > I can think of two ways to do this: > # move the modified one out > p4 open > p4 move //depot/Freebsd/src1/sys/netatalk/... > //depot/Freebsd/src1/sys/netmumble/... > followed by: > # bring back the original version by copying it from before changes > started. > p4 integrate //depot/Freebsd/src1/sys/netatalk/...@original_import > //depot/Freebsd/src1/sys/netmumble/... > p4 resolve > p4 submit > > > Or, a second alternative: not quite sure how to do this if there are > deletions and additions on the tree > #copy out the modified version. > #revert the directory in question to exactly how it was before the > changes started > files in netmumble should see all their history even when they were in > netatalk, > and files now in netatalk should see history from before the changes > started, > and MAYBE from when they were modified (optional). Personally, using svn I would use the second approach mv netatalk netmumble rm -R netmumble/.svn svn co netatalk diff -ru netatalk netmumble or cp then svn revert would give the same result. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
P4 question. not really a freebsd but using with freebsd
so I have a freebsd tree checked into perforce. one particular subdirectory has been heavily modified to teh extent that it's not really hte same thing any more and I want to move it out to a separate place, and then replace it with the original contents so I can update the tree and get changes to that original directory. I can think of two ways to do this: # move the modified one out p4 open p4 move //depot/Freebsd/src1/sys/netatalk/... //depot/Freebsd/src1/sys/netmumble/... followed by: # bring back the original version by copying it from before changes started. p4 integrate //depot/Freebsd/src1/sys/netatalk/...@original_import //depot/Freebsd/src1/sys/netmumble/... p4 resolve p4 submit Or, a second alternative: not quite sure how to do this if there are deletions and additions on the tree #copy out the modified version. #revert the directory in question to exactly how it was before the changes started files in netmumble should see all their history even when they were in netatalk, and files now in netatalk should see history from before the changes started, and MAYBE from when they were modified (optional). Julian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"