Subject: Re: [libssh2] [PATCH] move private include files

Re: [libssh2] [PATCH] move private include files

From: James Housley <>
Date: Fri, 10 Nov 2006 10:32:46 -0500

On Nov 10, 2006, at 10:27 AM, Daniel Stenberg wrote:

> On Fri, 10 Nov 2006, James Housley wrote:
>>> $ mv include/ src/
>>> $ mv include/libssh2_priv.h src/
>> The repo-master needs to do a repo copy and proper edits for this
>> to be done right.
> Not 100% true since if you rename the "raw" files in the CVS repo
> you also ruin the history so there's no really good way to do this
> with CVS.
> I suggest you simply add the new files and remove the old,
> mentioning in the commit message that they were renamed [from] to
> [to].

There is a fairly easy way, FreeBSD, OpenBSD, etc do repo-copies all
the time and keep all the history.

What I do is:

1) In the repository copy the files to the new locations.
2) edit the files in the new locations and remove all tags so the
file won't be included in checkouts.
3) Where you have checked out the code delete the file and then cvs
delete the files

It is not perfect, but does keep the history.


/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------     The Power to Serve
Progress (n) : What led from smart users in front of dumb terminals to
dumb users in front of smart terminals.
Received on 2006-11-10