Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2013 19:24:32 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org>, Andreas Nilsson <andrnils@gmail.com>, Igor Mozolevsky <igor@hybrid-lab.co.uk>
Subject:   Re: rcs is gone?
Message-ID:  <20131008022432.GF56872@funkthat.com>
In-Reply-To: <20131008005950.GA24985@glenbarber.us>
References:  <29D748F4-5E38-4587-BC7F-0141234C2F62@orthanc.ca> <F9A84DDF-EC24-42F2-9B34-F5041946293D@orthanc.ca> <CADWvR2jsE_yF6FHXRNvqS2=wUGcbHcGUau%2BbcB90Lhog-6CQ3A@mail.gmail.com> <CAPS9%2BSscrNiBUmKrM-h6D8PYTa9p3xs1fQrJaK8v8yAUBLQMBw@mail.gmail.com> <CADWvR2iSy1ZCxWXq7D984_T_AjfM-QPj7fZC_fHx0okhOSGMhA@mail.gmail.com> <20131007212925.GC2133@glenbarber.us> <20131008003642.GC56872@funkthat.com> <20131008004253.GG2133@glenbarber.us> <20131008005423.GD56872@funkthat.com> <20131008005950.GA24985@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help
Glen Barber wrote this message on Mon, Oct 07, 2013 at 20:59 -0400:
> On Mon, Oct 07, 2013 at 05:54:23PM -0700, John-Mark Gurney wrote:
> > > No, not really.
> > > 
> > >     # mkdir local
> > >     # svnadmin create ./local
> > >     # svn import /etc file:///$PWD/local
> > 
> > besides the s/svn/svnlite/ you forgot...  It doesn't work...  Sure it
> 
> WITH_SVN in src.conf will install svnlite as svn.
> 
> > imports all of my /etc, but doesn't let me commit my changes to rc.conf:
> > # svnlite commit rc.conf
> > svn: E155007: '/etc/rc.conf' is not a working copy
> 
> Sure it does.
> 
> gjb@nucleus:~/svn % mkdir local
> gjb@nucleus:~/svn % svnadmin create ./local
> gjb@nucleus:~/svn % cp -rp /usr/local/etc/rc.d fakelocaletc
> gjb@nucleus:~/svn % svn import ./fakelocaletc file:///$PWD/local -m "Initial import."
> gjb@nucleus:~/svn % svn co --force file:///$PWD/local fakelocaletc

This is the step you forgot to include previously...  So, it's still
a multistep process before you can revision control the files and clearly
not simple since we already have two different ways of doing it...

I wouldn't have even thought about the permission issue that someone
else brought up...

> Checked out revision 1.
> gjb@nucleus:~/svn % svn stat !$
> svn stat fakelocaletc
> gjb@nucleus:~/svn % svn info fakelocaletc
> Path: fakelocaletc
> Working Copy Root Path: /usr/home/gjb/svn/fakelocaletc
> URL: file:///home/gjb/svn/local
> Relative URL: ^/
> 
> > Plus, I was quite reasured that svn isn't smart enough to realize that
> > a path might be a file: url relative to the current working directory...
> 
> I don't know what you mean by this.

svn didn't bother trying to figure out if the relative path (or even
absolute path) has a valid repo.. it just decided, nope, not a URL,
I'll quit now, even though it could have been smart...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131008022432.GF56872>