Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On Fri, Apr 17, 2020 at 05:01:15PM +0200, Manuel Bouyer wrote:
> On Fri, Apr 17, 2020 at 07:52:53AM -0700, Jason Thorpe wrote:
> > 
> > > On Apr 17, 2020, at 7:46 AM, Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
> > > 
> > >    Date:        Fri, 17 Apr 2020 15:37:33 +0200
> > >    From:        Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> > >    Message-ID:  <20200417133733.GA5322%antioche.eu.org@localhost>
> > > 
> > >  | And that would be a problem for me. I regulary update a single file to a
> > >  | specific revision in a source tree.
> > > 
> > > Me too - I pull the current sh into NetBSD 8 (and I guess 9 now too,
> > > though I haven't done that yet) and build it there for some people who
> > > like to test and report bugs.
> > 
> > The New Hotness (which isn't particularly new, at this point) is to create branches and merge what you want into that branch.
> 
> Yes, but it's much more work than 'cvs up' in a single directory or against
> a few files.
> 

To checkout trunk in just the subdirectory bin/sh you can do:
hg revert -r trunk bin/sh
for git:
git checkout trunk bin/sh

Making a commit from this position is a little more awkward. But at
least non-CVS repositories make it easier to switch between branches.


Home | Main Index | Thread Index | Old Index