...
Now, if I choose a constant UTC time
carefully, I may find there's one, which when
converted into any timezone will not involve
any kind of complicated calculalations, (e.g.
no leap years, no crossing month boundaries,
no crossing year
I am looking for help from someone who knows the RCS file
format quite well. Noel, this probably means you :-)
About a week ago, I had a problem.
In summary, I made changes to a working directory, including
deleting files; I then tried to commit to a branch.
Unfortunately, the deleted files were
There seems to be a problem in branching support with removed files.
Repeat by:
1. Make changes to the local copy, including deleting files.
2. Decide that you want to commit to a branch, not the trunk.
3. 'cvs tag' will not work, nor will 'cvs tag -b' as there are errors to correct
first.
4.
Incidently, does anyone know a good way to recover from this?
Here's a log output of one of the deleted files.
$ cvs log GADBEc.h
RCS file: /lab/CVS/GABackend/GABase/GADBBase/Attic/GADBEc.h,v
Working file: GADBEc.h
head: 1.2
branch:
locks: strict
access list:
symbolic names:
A different question then: Attempting to use WinCvs 1.0.6 (the stable
version) results in a null pointer exception (trying to read address 0)
right after bringing up the 'splash' window. (This was the behavior that
prompted me to upgrade, btw). Any ideas? Or is it also reinstall NT?
I have NT
All that's really "automatic magic" in the vendor branch support is the
fact that "cvs import" automatically creates the branch structure, and
any truly obvious conflicts with local changes on the trunk are detected
and reported so that the maintainer can have some indication as to how
Now I'm confused. How is it a feature?
Assume that I want to be able to say "This is the newest source code
from the vendor. This file foo.m is now gone, and not used. No changes
have been made to foo.m on my system; it is still version 1.1.1.1; it is
not used anymore. I want it to disapear from
Now I'm confused. How is it a feature?
Assume that I want to be able to say "This is the newest source code
from the vendor. This file foo.m is now gone, and not used. No changes
have been made to foo.m on my system; it is still version 1.1.1.1; it is
not used anymore. I want it to
(Incidently, I get bounces anytime I try to send to [EMAIL PROTECTED])
(Then either there's something incorrectly configured in your mailer or
DNS; or your mailer is listed in the MAPS, ORBS, or DUL, or some other,
RBL. I did a quick peek through the logs for "getasia.com" and didn't
That gives you every directory. What if you only want the top level
directory, or only the first layer of /BigProject? (I don't want 'ls -R'
as the only option :-)
Gary Pinkham wrote:
I've been using ...
cvs rdiff -s -r 0 . | grep 'Diffing'
to get a directory list of the repository.. I
Just for people to think about...
In working with object oriented code, we OFTEN create and return zero
length arrays when we are returning an array and have nothing to return
(ex: zero records from a database fetch.)
Accepting a zero length request, and returning a zero byte long
allocation
Try just
hal hal
it works for us.
[EMAIL PROTECTED] wrote:
Greetings!
I need WinCVS and "cvs checkout -c" to be able to list all of the modules in
our repository. The problem is, they both only list the contents of the
"CVSROOT/modules" file. (I assume WinCVS uses "co -c")
So, you
Just my thoughts.
Trying to get an automic multi-file commit:
(1) Edit files, and check them in.
[Errors may occur here, leaving some files checked
in and others not. No matter.]
If multiple people are running though this procedure at the same time, you can
get some nasty conflicts at this
No, using timestamps relies on the assumption that the timestamp always
changes when the file is modified -- it does *not* assume the latter
(although it does assume that the consequences of thinking that the file
has been modified when it hasn't are not severe). You seem to think
that
The script isn't doing what you think it's doing.
Fundamentally, I've got a script that swaps out CVS's control files into a holding
directory, or swaps them out from a holding directory. And, there's two others for
adding a new repository directory into the system (one for a repository that
NTP never sets the clock backwards (see 2, above).
*BZZT* WRONG!
Xntpd, version 3 (I think 3.92 or 3.93, but don't quote me), would OFTEN
set the clock backwards.
More to the point, if the offset is small, the time deamon adjusts the
drift rate. If the offset is large, it takes a lump jump.
From the MD5 RFC:
http://www.csl.sony.co.jp/cgi-bin/hyperrfc?rfc1321.txt
% It is conjectured that it is computationally infeasible to produce
% two messages having the same message digest, or to produce any
% message having a given prespecified target message digest.
You can be
And, although it is possible to explicitly reset the timestamp after a
modification, so many things depend on timestamps being correct that no
one ever does it.)
Gee, ever hear of restoring from a backup?
Yes, a checksum can give you duplication. But checksum + size is pretty
tight. Over
I'm working on some scripts to allow people to use multiple repositories
with a single set of files, and I've run into a problem.
'cvs add subdir' will fail to work if there is a CVS directory in
subdir. No test is made to see if there is no control files in subdir or
not, only if the CVS
(I can hear the "but we only check good stuff in" comments coming
already! :) )
Commit early, commit often, commit to branches!
I'm not sure I understand this.
SCCS (if my memory is correct) did allow checking out multiple files; it did not
allow checking out the same file by multiple people.
What, exactly, are you trying to do? If you want to check out specific
combinations of files, you can use tags per file (including
Hey, we used 1.10.5, and it worked just fine.
Isn't 1.10.8 the latest version? (or do I need to upgrade again)
"Greg A. Woods" wrote:
[ On Saturday, April 8, 1900 at 12:41:00 (CDT), Michael Sokolov wrote: ]
Subject: Oldest CVS version to support remote repos
I wonder, what is the
On Fri, Apr 07, 2000 at 12:59:04AM -0500, Michael Gersten wrote:
I don't think CVS itsself has this functionality but you can always go
into the repository directories and remove things with rm. Just *BE
VERY
CAREFUL* when your doing this so that you don't delete something
you'l
I don't think CVS itsself has this functionality but you can always go
into the repository directories and remove things with rm. Just *BE VERY
CAREFUL* when your doing this so that you don't delete something you'ld
like to keep.
Unfortunately, I'm trying to avoid this. I'm not the only one
Right now, if I manually remove files from the repository, future
checkouts will be good, but anyone with stuff checked out will get errors
if they try to update.
Right now, if I just do 'cvs rm', then 'update -dP' will fail.
You've read the Cederqvist CVS manual? You'll find it in
How can I completely remove a directory from CVS?
Some build directories got checked into a project by mistake. This
directory contains only .o files.
cvs rm -f will remove it, but later uses of 'cvs update -dP' will fail
(because it is still tracked as an empty directory, but isn't anymore.)
ok, then cvs rtag -r oldtagname newtagname module-name :-)
(as some have pointed out, it is not a rename without an rtag -d as well.)
"Cameron, Steve" wrote:
Michael Gersten wrote
[...]
Just a thought, what's wrong with
cvs rtag -r oldtagname newtagname
If I understand you correctly:
You have some source files that are common to all your work.
You have some source files that have slight differences in the different
versions.
Then, do the following:
1. Have a file 'machine.h'. Include this.
#define MACHINE machine_name
2. Have a file
"Greg A. Woods" wrote:
TRUNK - top of the trunk
BHEAD - head of the current branch (or trunk if not on a branch)
PHEAD - head of the parent branch
(or trunk if the file split from the trunk)
TBASE - point at which this file left the trunk.
Same as self if not on
"Derek R. Price" wrote:
I'm not exactly sure what you mean by magic versus real. I think CVS and RCS
each have their own magic revision numbers used to specify branches. And like I
said, I think CVS can use either.
Magic branches are the cvs tags that you give to the -r options of CVS. Real
on the list a while back).
However, even if there is no real RCS version entered, there is still a tag
for the (yet to be made) branch, and as long as that tag is there, that's all
the info you need.
Michael
"Cameron, Steve" wrote:
Michael Gersten
You're right. For consistency's sake,
You're right. For consistency's sake, "cvs up -C file" should get a clean copy
of the HEAD. I think, in general, there should be a way to specify the base
revision (is there a BASE alias similar to HEAD?)
Ok, since HEAD means different things, etc, I'd like to propose the following alias
Just to save me from re-inventing the wheel, can you forward me the "swap the admin
directories" scripts?
Thanks.
Michael
"Greg A. Woods" wrote:
[ On Thursday, March 16, 2000 at 23:11:55 (-0600), Michael Gersten wrote: ]
Subject: Synchronizing across multiple r
But, since I started using C++, I have been plagued
by long build times. (Yes, I've read Lakos.)
Can someone give me a URL for Lakos?
Michael
Speaking of diff utilities, I have configured WinCVS to use
C:\Program Files\GNU\WinCvs\diff.exe -u
to do diffs, yet I still get a non-unified diff output. Know how to solve that?
Alexandre Parenteau wrote:
Harald,
You can not expect to redirect the stdout because of TCL (the shell used
Previously I had asked if there were any tools to automatically sync
two repositories. The idea was to work with developers that might be
only occasionally connected, but using a local (to them) repository
that occasionally synched to the main (remote) one.
The email I received generally
"Cameron, Steve" wrote:
[smc] [snip]
[smc] [..regarding "cvs update -j rev1 -j rev2 myfile.c" ]
rev1 and rev2 can be arbitrary revisions. (Well, with the
restriction
that they must already be in the same repository...which is
the main
'rtag' is used to create a tab in the repository that is equal to another
tag in the repository. It is (afaict (as far as I can tell)) only used to
create a branch tag equal to another tag.
E.G.:
cvs tag base-name # create a base for branch
cvs rtag -r base-name -b name module#
"Greg A. Woods" wrote:
Make sure that you don't permit 'cvs co mispelling' to create a new
directory when 'cvs co misspelling' was intended.
If you spell it right in the "CVSROOT/modules" entry then all should be
well... :-)
How about 'cvs new module-name module-dir local-dir' to
Here's a much wanted feature.
I want to specify a tag at check in time.
Specifically, I want to specify "Create a new branch, and check in on that
branch", or "Check this in on my parent, assuming no changes have been made to
my parent since I branched".
(I actually want more, but this is
How can I share a repository across two different machines?
Lets say that two machines will talk to each other only once a
night. Lets say that each machine has developers, and they want
to work on a shared CVS project.
How/can/is it possible for them to share/synchronize their CVS
41 matches
Mail list logo