From owner-freebsd-current@FreeBSD.ORG Fri Nov 9 19:26:17 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EC9C16A468; Fri, 9 Nov 2007 19:26:17 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: from mx.kash.tomsk.ru (ns2.kash.tomsk.ru [88.204.35.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9185A13C4BB; Fri, 9 Nov 2007 19:26:16 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: by mx.kash.tomsk.ru (Postfix, from userid 0) id CB7CEDAD0E; Sat, 10 Nov 2007 01:26:04 +0600 (NOVT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mx.kash.tomsk.ru (Postfix) with ESMTP id 24B90DAD09 for ; Sat, 10 Nov 2007 01:26:03 +0600 (NOVT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 46CC317185A; Fri, 9 Nov 2007 19:23:57 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E769316A513; Fri, 9 Nov 2007 19:23:55 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19E7016A421 for ; Fri, 9 Nov 2007 19:23:41 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outH.internet-mail-service.net (outH.internet-mail-service.net [216.240.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 04C3613C4C1 for ; Fri, 9 Nov 2007 19:23:40 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Fri, 09 Nov 2007 11:23:09 -0800 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id A9CD712699F; Fri, 9 Nov 2007 11:23:08 -0800 (PST) Message-ID: <4734B397.4010905@elischer.org> Date: Fri, 09 Nov 2007 11:23:03 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: OutbackDingo References: <4733F1DA.60706@gmail.com> <1194616213.8643.24.camel@z60m.optimlabs.com> <1194619407.64797.64.camel@localhost> <1194621176.1219.3.camel@z60m.optimlabs.com> In-Reply-To: <1194621176.1219.3.camel@z60m.optimlabs.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org X-DSPAM-Result: Innocent X-DSPAM-Processed: Sat Nov 10 01:26:04 2007 X-DSPAM-Confidence: 0.9956 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4734b44c284384054517257 X-DSPAM-Factors: 27, freebsd, 0.00291, freebsd, 0.00291, List-Post*>+>>, 0.00406, >>+>>, 0.00406, Received*freebsd, 0.00461, Received*freebsd, 0.00461, OS, 0.00505, Received*hub.freebsd.org, 0.00535, Received*hub.freebsd.org, 0.00535, Received*(hub.freebsd.org, 0.00535, Received*4f8, 0.00535, Received*4f8, 0.00535, Received*mx2.freebsd.org, 0.00535, Received*mx2.freebsd.org, 0.00535, Received*from+hub.freebsd.org, 0.00535, Received*from+hub.freebsd.org, 0.00535, Received*hub.freebsd.org+(Postfix), 0.00535, Received*hub.freebsd.org+(Postfix), 0.00535 Cc: Tom Evans , freebsd-hackers@freebsd.org, Ian FREISLICH , "Aryeh M. Friedman" , freebsd-current@freebsd.org Subject: Re: questions on development(7) X-BeenThere: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 19:26:17 -0000 OutbackDingo wrote: > On Fri, 2007-11-09 at 14:43 +0000, Tom Evans wrote: >> On Fri, 2007-11-09 at 21:49 +0800, OutbackDingo wrote: >>> well thats kinda hard to do with CVS, though other revision systems such >>> as mercurial, bazaar, git and perforce, even subversion do it well, >>> there is also a mercurial respository for FreeBSD out there some where >>> >>> On Fri, 2007-11-09 at 05:36 +0000, Aryeh M. Friedman wrote: >>>>>> 2. If yes to #1 how do I setup keeping everything except my modified >>>>>> code in sync (and if possible to retro activally apply patchs from the >>>>>> local branch unto the main source tree [/usr/src2]) >>>>> You won't be able to commit to the BSD repo from your server. I >>>>> think you should treat your repo as read only and use cvsup to keep >>>>> it up to date. At least that's what I do. >>>> What I meant was how do I keep from clobbering my local changes? >>>> >> (Nothing like top posting to destroy the thread flow) >> >> OutbackDingo is incorrect. That is the entire purpose of CVS, otherwise >> they might as well call it VS.. >> >> Your /usr/src will be a checkout of a particular branch of freebsd >> (called a working copy). You periodically update your cvs repository >> (where you checkout from) with the latest freebsd commits. >> When you wish to, you update your working copy from your repository by >> issuing a 'cvs up'. This merges changes in the repository into your >> local copy, merging in with the local changes. >> When you want to see what has changed since you last did a 'cvs up', >> issue a 'cvs -n up'. >> When you want to see the local modifications in your working copy, issue >> a 'cvs diff'. >> >> Read the cvs red-bean book for more info. >> http://cvsbook.red-bean.com/cvsbook.html >> >> HTH >> >> Tom > > Well I wouldnt say incorrect as i stated it was hard to do. Meaning its > easier to complete these tasks with a different RCS, in my OWN opinion. > So as not to clobber ones changes locally. I didnt say it could not be > done, its simply more difficult to achieve the same result as with other > RCS systems. The reason I sated as more difficult to do, Ive seen quite > a number of times when tracking a vendor branch, that merges had to be > more manually handled because of local changes. This is another of those > "preferences" people get into wars over, Best OS, Browser, RCS etc etc ok having done this for years here's how it goes. If you have a private CVS repo mirroring the FreeBSD tree then you can keep your changes up to date in your "checked out" source tree. but you can generally not check them in anywhere. You CAN keep your own special branch (I think it was branch numbers above 100000 or something, check cvsup docs) that cvsup will not over write, and you can check in your changes there but that branch will not automatically update from freebsd.org so you will need to do branch updates regularly. (and that can be tricky and time consuming in CVS) otherwise your branch will get out-of date when compaerd with -current. usually I just keep my work checked out until I'm ready to feed the changes back but I take regular diffs and stash them away as 'backups' :-) This is why we have the perforce repo in addition to CVS. it is good at doing large branch manipulations, and it is more feasible to keep your own branch in sync with the branch that is kept up to date with the CVS tree. Unfortunatly, we don't give out access to that to 'anybody', it may be possible to get mercurial to do similar, or if you could get a 'personal use' p4 server you could get the scripts from Peter and see if you could do the same. I wonder if ther is a way we could broadcast changes to the p4 'head' branch so that people could keep their own p4 servers up to date.. > etc... > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"