cvs vs svn... (Re: SOURCES: ghostscript-afpl-am.patch (NEW), ghostscript-afpl-ijs_pkg...)

Tomasz Pala gotar at polanet.pl
Sat Sep 10 03:04:49 CEST 2005


On Sat, Sep 10, 2005 at 00:02:45 +0200, Paweł Sakowski wrote:

> Untrue. rpm uses macros. The way the macros are currently defined uses
> SPECS/SOURCES subdirs. A quick-and-unperfect %(pwd) in the appropriate
> place would make it:
> 
> svn co .../foo;cd foo;rpmbuild foo.spec

OK, easily aliased.

> > 5. reverting a commit:
> > cvs:	cvs up -r X foo; mv foo{,.tmp}; cvs up -A foo; mv -f foo{.tmp,}; cvs ci foo
> 
> Easier:
> cvs up -j X -j HEAD foo;cvs ci foo
> (maybe the other way round... I don't remember the exact -j syntax)

I don't remember too, so mv trick is actually easier;)

-- 
GoTaR <priv0.onet.pl->gotar>        http://vfmg.sourceforge.net/
                                    http://tccs.sourceforge.net/



More information about the pld-devel-en mailing list