gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] How to rename a category?


From: John A Meinel
Subject: Re: [Gnu-arch-users] How to rename a category?
Date: Tue, 16 Nov 2004 23:04:17 -0600
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

Michaeljohn Clement wrote:
I have a category, let's call it "foo," which is used for a project which was called "foo" for a very brief period early in development. Shortly after, the project was given a proper name, "bar." The name "foo" is now attached to a somewhat different project, and I now want to create a "foo" category in the archive for this new project. Of course there already is a "foo" category, but it contains a project which is now actually called "bar."

So, I would like to rename the category "foo" to "bar," and then create a new category "foo." How can I do this?

Thanks,
Michaeljohn

I don't believe you can create a new category with the same name as an old one in the same archive. However, updating foo to bar is as simple as:

tla tag -S foo--branch--1.0 bar--branch--1.0

(With appropriate values for branch and the version number).


archive/category--branch--version--revision is meant to be a namespace, such that it uniquely identifies a set of source files and their state. Which is why you can't rename any of them.

You can re-use them, though.

For instance you could have

archive/foo--original--0
and
archive/foo--thenewstuff--0

etc.

If you absolutely must have the new project use the category name of foo, there is the possibility of changing history, but that is one of those very risky things to do in arch.

John
=:->

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]