[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: resetting revision back to zero

From: John Eric Hamacher <badgerduke_at_gmail.com>
Date: 2007-08-31 00:01:48 CEST

OK, thanks, I'll check. I may have done one thing I can remember to make
the revisions go up. I didn't do it six times but who knows. Thanks again.

On 8/30/07, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:
>
>
> On Aug 30, 2007, at 08:04, John Eric Hamacher wrote:
>
> > On 8/29/07, Andy Levy wrote:
> >
> >> On 8/29/07, John Eric Hamacher wrote:
> >>
> >> > For some reason, when I loaded a new project into Subversion, it
> >> chose
> >> > revision 7 to be my starting point. I have no idea what might
> >> be in
> >> > previous versions, if anything. I would like to reset my
> >> project revision
> >> > number to zero. How can I do this? Thanks.
> >>
> >> Subversion didn't "choose" to make revision 7 your starting point for
> >> "some reason." When you performed the import, there had been 6
> >> previous commits to that repository. Therefore your import was commit
> >> #7.
> >>
> >> Create a new repository and import your project into that. You can't
> >> reset the revision number of an existing repository to any arbitrary
> >> value.
> >
> > Huh, I really didn't do anything but install Subversion before I
> > imported my project. But that's OK I'll have to live with it.
>
> You seem to have done 6 other things in the repository before
> importing this project. "svn log -v -r1:6 url://of/your/repository"
> will show you what those things are.
>
> Subversion does not have per-project revision numbers. (Subversion
> also has no concept of a "project"; it just versions files and
> directories.) Subversion has per-repository revision numbers. Whether
> you make just one repository to hold all your projects, or individual
> repositories for each project, is up to you. I prefer the former, but
> others prefer the latter. There are pros and cons to each approach.
>
>

-- 
John (Eric) Hamacher
Java Developer
Madison, Wisconsin
(608)-334-9260
Received on Thu Aug 30 23:59:13 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.