[31286] trunk/dports/devel/git-core/files

Ryan Schmidt ryandesign at macports.org
Mon Nov 19 20:22:58 PST 2007


On Nov 19, 2007, at 12:25, mgrimes at macports.org wrote:

> Revision: 31285
>           http://trac.macosforge.org/projects/macports/changeset/31285
> Author:   mgrimes at macports.org
> Date:     2007-11-19 10:25:29 -0800 (Mon, 19 Nov 2007)
>
> Log Message:
> -----------
> Lint
>
> Modified Paths:
> --------------
>     trunk/dports/devel/git-core/Portfile
>
> Removed Paths:
> -------------
>     trunk/dports/devel/git-core/files/patch-Makefile
>     trunk/dports/devel/git-core/files/patch-http.h


On Nov 19, 2007, at 12:28, mgrimes at macports.org wrote:

> Revision: 31286
>           http://trac.macosforge.org/projects/macports/changeset/31286
> Author:   mgrimes at macports.org
> Date:     2007-11-19 10:28:11 -0800 (Mon, 19 Nov 2007)
>
> Log Message:
> -----------
> add back linted patches..
>
> Added Paths:
> -----------
>     trunk/dports/devel/git-core/files/patch-Makefile.diff
>     trunk/dports/devel/git-core/files/patch-http.h.diff


The "svn log" and "svn blame" commands now make it look as though  
those files just came into existence in r31286. But they did not.  
They were merely renamed from other files.

You should have renamed these patches using "svn mv", like this:

cd `port dir git-core`/files
svn mv patch-Makefile patch-Makefile.diff
svn mv patch-http.h patch-http.h.diff
cd ..
vi Portfile
svn ci

That would have preserved the history.


But now you've readded the files as completely new files. To undo  
this and reconnect the history, you'll have to do this:

cd `port dir git-core`/files
svn rm patch-Makefile.diff patch-http.h.diff
DPORTS=http://svn.macosforge.org/repository/macports/trunk/dports
svn cp -r31284 $DPORTS/devel/git-core/files/patch-Makefile patch- 
Makefile.diff
svn cp -r31284 $DPORTS/devel/git-core/files/patch-http.h patch- 
http.h.diff
svn ci




More information about the macports-dev mailing list