Till Maas | 7 Oct 17:23

Remove a branch directory completely from cvs

Hiyas,

according to the UsingCvsFaq[1] one can remove a branch directory from cvs 
with "cvs remove". I tried this, but it seems not to work. I removed 
the "FC-1" directory from pam_mount, but when I cvs co'ed the pam_mount 
directory again, an empty "FC-1" directory appeared. Is there some parameter 
I can pass to "cvs remove" to get the directory removed, too?

Regards,
Till

 [1] 
https://fedoraproject.org/wiki/PackageMaintainers/UsingCvsFaq#How_do_I_remove_a_branch_I_no_longer_want_or_need.3F
--

-- 
fedora-devel-list mailing list
fedora-devel-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
Tim Niemueller | 7 Oct 17:49

Re: Remove a branch directory completely from cvs

Till Maas schrieb:
> Hiyas,
> 
> according to the UsingCvsFaq[1] one can remove a branch directory from cvs 
> with "cvs remove". I tried this, but it seems not to work. I removed 
> the "FC-1" directory from pam_mount, but when I cvs co'ed the pam_mount 
> directory again, an empty "FC-1" directory appeared. Is there some parameter 
> I can pass to "cvs remove" to get the directory removed, too?

That is a general problem with CVS, it cannot completely remove empty
directories, as they are needed in the repository to hold the version
information for the deleted files in the directory.

You can however prevent your checkout from creating these directories by
using "cvs checkout -P", where "-P" stands for "Prune empty directories".

	Tim

-- 
    Tim Niemueller <tim <at> niemueller.de>      www.niemueller.de
=================================================================
 Imagination is more important than knowledge. (Albert Einstein)

--

-- 
fedora-devel-list mailing list
fedora-devel-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Till Maas | 7 Oct 20:16

Re: Remove a branch directory completely from cvs

On Tue October 7 2008, Tim Niemueller wrote:

> You can however prevent your checkout from creating these directories by
> using "cvs checkout -P", where "-P" stands for "Prune empty directories".

Thank you, this works.

Regards,
Till
--

-- 
fedora-devel-list mailing list
fedora-devel-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
Bill Crawford | 7 Oct 17:51

Re: Remove a branch directory completely from cvs

On Tuesday 07 October 2008 16:26:38 Till Maas wrote:
> Hiyas,
>
> according to the UsingCvsFaq[1] one can remove a branch directory from cvs
> with "cvs remove". I tried this, but it seems not to work. I removed
> the "FC-1" directory from pam_mount, but when I cvs co'ed the pam_mount
> directory again, an empty "FC-1" directory appeared. Is there some
> parameter I can pass to "cvs remove" to get the directory removed, too?
>
> Regards,
> Till
>
>  [1]
> https://fedoraproject.org/wiki/PackageMaintainers/UsingCvsFaq#How_do_I_remo
>ve_a_branch_I_no_longer_want_or_need.3F

The way CVS works, the directory still exists in the repository. What you need 
to do is run "cvs update" with the -P option (to "prune" the empty directory).

--

-- 
fedora-devel-list mailing list
fedora-devel-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Kevin Fenzi | 7 Oct 18:05

Re: Remove a branch directory completely from cvs

On Tue, 07 Oct 2008 17:26:38 +0200
opensource <at> till.name (Till Maas) wrote:

> Hiyas,
> 
> according to the UsingCvsFaq[1] one can remove a branch directory
> from cvs with "cvs remove". I tried this, but it seems not to work. I
> removed the "FC-1" directory from pam_mount, but when I cvs co'ed the
> pam_mount directory again, an empty "FC-1" directory appeared. Is
> there some parameter I can pass to "cvs remove" to get the directory
> removed, too?  

Why are you needing to do this?

Granted, not many people should need to look at what was in FC-1 much,
but it's possible there could be something there someone would want to
look at, and now all the files in there are marked dead, so it's more
of a chore to get them to look at. 

Perhaps we could look at archiving off all those old branches if they
are causing a problem?

kevin
--

-- 
fedora-devel-list mailing list
fedora-devel-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
Till Maas | 7 Oct 20:31

Re: Remove a branch directory completely from cvs

On Tue October 7 2008, Kevin Fenzi wrote:
> On Tue, 07 Oct 2008 17:26:38 +0200
>
> (Till Maas) wrote:

> > according to the UsingCvsFaq[1] one can remove a branch directory
> > from cvs with "cvs remove". I tried this, but it seems not to work. I
> > removed the "FC-1" directory from pam_mount, but when I cvs co'ed the
> > pam_mount directory again, an empty "FC-1" directory appeared. Is
> > there some parameter I can pass to "cvs remove" to get the directory
> > removed, too?
>
> Why are you needing to do this?
>
> Granted, not many people should need to look at what was in FC-1 much,
> but it's possible there could be something there someone would want to
> look at, and now all the files in there are marked dead, so it's more
> of a chore to get them to look at.

Using the viewcvs webinterface, it is pretty easy to get the dead files:
http://cvs.fedoraproject.org/viewvc/rpms/pam_mount/FC-1/?hideattic=0

I guess there is also some commandline option that allows to easily access 
these files.

> Perhaps we could look at archiving off all those old branches if they
> are causing a problem?

After I got this working, the next step was to suggest to remove all old 
branches (F-7 and older) for every package in the near future.
(Continue reading)

Kevin Fenzi | 8 Oct 19:48

Re: Remove a branch directory completely from cvs

On Tue, 07 Oct 2008 20:31:49 +0200
opensource <at> till.name (Till Maas) wrote:

> On Tue October 7 2008, Kevin Fenzi wrote:
> > On Tue, 07 Oct 2008 17:26:38 +0200
> >
> > (Till Maas) wrote:
> 
> > > according to the UsingCvsFaq[1] one can remove a branch directory
> > > from cvs with "cvs remove". I tried this, but it seems not to
> > > work. I removed the "FC-1" directory from pam_mount, but when I
> > > cvs co'ed the pam_mount directory again, an empty "FC-1"
> > > directory appeared. Is there some parameter I can pass to "cvs
> > > remove" to get the directory removed, too?
> >
> > Why are you needing to do this?
> >
> > Granted, not many people should need to look at what was in FC-1
> > much, but it's possible there could be something there someone
> > would want to look at, and now all the files in there are marked
> > dead, so it's more of a chore to get them to look at.
> 
> Using the viewcvs webinterface, it is pretty easy to get the dead
> files:
> http://cvs.fedoraproject.org/viewvc/rpms/pam_mount/FC-1/?hideattic=0
> 
> I guess there is also some commandline option that allows to easily
> access these files.

I suppose. 
(Continue reading)

Till Maas | 8 Oct 20:30

Re: Remove a branch directory completely from cvs

On Wed October 8 2008, Kevin Fenzi wrote:
> On Tue, 07 Oct 2008 20:31:49 +0200
>
> opensource <at> till.name (Till Maas) wrote:
> > On Tue October 7 2008, Kevin Fenzi wrote:

> > > Perhaps we could look at archiving off all those old branches if
> > > they are causing a problem?
> >
> > After I got this working, the next step was to suggest to remove all
> > old branches (F-7 and older) for every package in the near future.
>
> Why not ask infrastructure to see about moving those all off to a
> archive site/location?

I created a ticket:
https://fedorahosted.org/fedora-infrastructure/ticket/893

> > The reason why I want this done, is that they mess up some packages,
> > where there are now 10 or more branch directories.
>
> Oh? how?

I meant, that they mess up the package directory, i.e. harder to see which 
branches are there.

> > Also it takes
> > unecessarily long for to checkout packages. Especially packages that
> > not only have many branches, but also a lot of patches.
>
(Continue reading)

Florian Festi | 7 Oct 20:07
Favicon

Re: Remove a branch directory completely from cvs

  *** Insert thread about "CVS vs YourFavouriteVCS" here ***

--

-- 
fedora-devel-list mailing list
fedora-devel-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


Gmane