# renaming cvs files

- Thread: https://externals.io/message/488
- Original archive: https://news-web.php.net/php.internals/488
- Started by Shane Caraveo on 2003-03-30T00:00:45+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #488 — Shane Caraveo — 2003-03-30T00:00:45+00:00

URL: https://externals.io/message/488#488

I want to start de-versioning our filenames (for example php4isapi.c to 
php_isapi.c) and project files (dsp files on win), and change built 
files to php5xxx where apropriate.  I would do it using:

$ mv old new
$ cvs remove old
$ cvs add new
$ cvs commit -m "Renamed old to new" -r x.x old new

(-r to keep the revision numbers +.1)

And then of course update the make and dsp files.

If noone has any issue with that, I'll start doing it tomorrow night or 
monday night.  Of course if someone else feels inclined to do it sooner, 
I wouldn't mind.

I don't build everything, so other people would need to build/test some 
of the changes.

Shane

---

## #511 — Jon Parise — 2003-03-30T19:58:24+00:00

URL: https://externals.io/message/488#511 · In reply to: #488

> I want to start de-versioning our filenames (for example php4isapi.c to 
> php_isapi.c) and project files (dsp files on win), and change built 
> files to php5xxx where apropriate.  I would do it using:
> 
> $ mv old new
> $ cvs remove old
> $ cvs add new
> $ cvs commit -m "Renamed old to new" -r x.x old new
> 
> (-r to keep the revision numbers +.1)
> 
> And then of course update the make and dsp files.
> 
> If noone has any issue with that, I'll start doing it tomorrow night or 
> monday night.  Of course if someone else feels inclined to do it sooner, 
> I wouldn't mind.
 
Please perform the file copy in the repository itself.  It would be
beneficial to preserve the revision history of those files under their
new names.

(repo)  $ cp old new
(local) $ cvs checkout new
(local) $ rm old; cvs remove old
(local) $ cvs commit -m "Renamed old to new" -r x.x old

-- 
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)
