How to bring a branch back on a file when the tag has been moved

2001-11-29 Thread Prabhu Ram (InfoSpace Inc)
Title: How to bring a branch back on a file when the tag has been moved





Hi,
We have a branch on which dev. was taking place and someone accidentally moved the tag (which is also the branch name) to the tip of the branch.  Is there a "nice" way of setting the branch back to the branch point ?  I managed to do the right thing by going to the RCS file but I would rather not.

Some more details:
Before mess up:
 foo.c (1.1) -> BRANCH_NEW
  |    |
  |   V
  |  1.1.2.1
  |    |
  |   V
    1.1.2.2


After mess up:
 foo.c ->    1.1
  |    |
  |   V
  |  1.1.2.1
  |    |
  |   V
  |  1.1.2.2 (BRANCH_NEW)


Question is how to get back to before the mess up ?  Thanks in anticipation of the response.
-Prabhu
[EMAIL PROTECTED]





RE: hash.c:312 - abort on commit

2001-10-06 Thread Prabhu Ram (InfoSpace Inc)
Title: RE: hash.c:312 - abort on commit





We have a setup (Windows, *nix clients to the same repository) similar to what Gianni describes below.  Our windows clients use winCVS.  When a file (say Install.c) is removed and subsequently added back as say install.c, the Install.c,v remains in the Attic while there is a corrupted install.c,v in the  respository directory which cause the assert failure which in turn fails the commit.  To recover from this we have to do repository surgery - remove the corrupted file, rename the Attic file to say install.c,v and then re-commit - not nice.

This error does not occur when using say *nix clients because of case sensitivity reasons.


The question is where do I file this bug ?
Thanks,
-Prabhu



-Original Message-
From: Gianni Mariani [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 06, 2001 9:53 AM
To: '[EMAIL PROTECTED]'
Subject: hash.c:312 - abort on commit




cvs 1.11p1


I'm not sure exactly how this state came to be, but it sure is annoying.



The repository is accessed by both Windows and Linux boxes.  So, we have 
a policy that all file names be lower case only.  This avoids problems 
with ambiguity in windows land.


So someone checked in a file "Installer.h", cvs remove'd it then 
attempted to add and commit "installer.h" which resulted in an assert 
failure at hash.c:312.


This is because the file did not exist but somehow it was assumed to 
exist - very strange.


So, now when I try to commit installer.h into this directory from 
anywhere it fails this assert().


This is a major bug.


Anyhow, I detected a corrupted installer.h,v in the repository. 
 Removing this seems to fix everything.


G



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs