bug-cvs
[Top][All Lists]
Advanced

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

Re: Feature request/ideas


From: Mark D. Baushke
Subject: Re: Feature request/ideas
Date: Wed, 09 Mar 2005 13:29:30 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derek Price <derek@ximbiot.com> writes:

> Frank Hemer wrote:
> 
> |> a revision on BRANCH's parent.  This makes sense when speaking
> |> about individual files, but use of .origin with multiple files
> |> probably deserves some sort of warning to the user that what they
> |> asked for may not make sense.
> |
> |
> | Well, as stated before: All relative tags are _only_ valid for
> | individual files, not for directories. It doesn't matter where the
> | relative tag appears in a combined tag.
> |
> | If applied on a directory, a warning will be shown complaining
> | about an invalid tag. And cvs aborts.
> 
> 
> Hrm.  The real strength of the .root tag, at least, is that it makes
> `cvs diff -rBRANCH.root -rBRANCH' possible.  I would hate to go to all
> this trouble and not get this feature.  It's just plain not very
> useful otherwise.  The same tag specs could be useful in a merge.

I agree. I would really like a way to replace the idioms

  cvs tag foo-bp
  cvs tag -b foo-branch
  cvs up -r foo-branch
  .....lots of changes and commits....
  cvs diff -rfoo-bp -rfoo-branch

with something like:

  cvs tag -b foo-branch
  cvs up -r foo-branch
  .....lots of changes and commits....
  cvs diff -rfoo-branch.root -rfoo-branch

so that we don't need lots of foo-bp tags in the tree.

The possibility of doing something like this:

  cvs tag -b -rfoo-branch.root foo-redeux-branch

to allow the creation of an alternative implementation of modified code
based on the same original baseline version as foo-branch would also be
interesting.

> And there is the similar matter of `cvs diff -r.commitid.XXX.prev
> -r.commitid.XXX'.  I thought this sort of request was what got you
> started on this?

Yes, it would be highly desirable to be able to do

   cvs udpate -j.commitid.XXX  -j.commitid.XXX.prev

to reverse a particular patch.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFCL2q63x41pRYZE/gRAmk9AJ4n+e6RZLChAp4cpIZXSO3SIkoNVgCfRyJs
aiIYG3QNNVv1DN1QU7BllGc=
=Wi+5
-----END PGP SIGNATURE-----




reply via email to

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