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

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

Re: [Gnu-arch-users] Problem after deleting archive


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] Problem after deleting archive
Date: Wed, 11 May 2005 14:55:48 -0400
User-agent: Mozilla Thunderbird 0.6 (X11/20040530)

Попков Александр wrote:
Developer do some commits into own local archive, then do star-merge to main, then delete 
"project-name--devel--0" from own archive.

Then his want to work with this project again, try to

tla tag -S address@hidden/project-name--devel--0 
address@hidden/project-name--devel--0

and give error: "conflict in applying patch".

Never ever do that. Revision names in Arch are supposed to be globally unique, which is why they have email addresses in them. When you import, commit or tag, you are permanently assigning a name to the state of your project tree. If you delete address@hidden/project-name--devel--0--base-0 and then re-create it, you are breaking the rules, and you can't expect Arch to work. Even if you could successfully tag, star-merge would probably misbehave.

Just use a new version name. Like, for example, address@hidden/project-name--devel--1.

Or alternatively, instead of tagging again, just star-merge from main into address@hidden/project-name--devel--0.

Or, if you really want to, you can tag into address@hidden/project-name--devel--0 without deleting it first. Be warned that star-merge may not behave correctly if you do this (but that would be a bug in star-merge).

Aaron
--
Aaron Bentley
Director of Technology
Panometrics, Inc.




reply via email to

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