Hi,
I didn't like that because we had to do a modification to svn_date just before 
committing... I don't like that because if I want to do a fast commit just 
before to gone I can't....
Phil

Le Wednesday 20 September 2006 17:18, Youness Alaoui a écrit :
> Yes, there are hooks, but I extensively read the SVN documentation, the
> hooks receive a transaction ID, and a transaction is some sort of object
> containing all the modified data.. once a transaction is created, it should
> NOT modify a file (or for that matter, it is also discouraged to modify the
> svn:eol-style and svn:mime-type properties because they affect the file's
> content), because the hook are executed on the server and the commiting
> user has no way to get notified of the change (svn will think he has the
> latst version because of the internal state locally and the next commit
> will make svn think that eh modified the file, not an 'out-of-date' issue).
> I proposed an alternate solution, where we could have a pre-commit script
> (not pre-commit, another hook, can't remember its name, but anyways one
> that get executed before the pre-commit) that would check the content of
> svn_date and if it doesn't contain the next revision number, then cancel
> the commit and show 'put this content in this file : 7XXX' and it would not
> allow you to commit unless the file contains the revision number + 1. Noone
> ever answered my email IIRC...
>
> KKRT
>
> On Wed, Sep 20, 2006 at 03:04:22PM +0100, Rafael Rodríguez wrote:
> > IIRC Subversion allows to change the hooks that are executed after every
> > commit. Couldn't a hook be added in order to increment a svn_date file
> > after each commit?
> >
> > R
> >
> > On 9/20/06, Álvaro J. Iradier <[EMAIL PROTECTED]> wrote:
> > >So those should be removed or changed, as cvs_date is not updated
> > >anymore (in fact, it shouldn't exist in amsn distribution, I guess
> > >that's why there's a "file exists").
> > >
> > >On 9/20/06, Vivia Nikolaidou <[EMAIL PROTECTED]> wrote:
> > >> [EMAIL PROTECTED] amsn]$ grep cvs_date *
> > >> amsn.spec:- added a release number taken form cvs_date
> > >> bugs.tcl:       if {[file exists cvs_date]==1} {
> > >> bugs.tcl:           set fd [open cvs_date]
> > >> Makefile:RELEASEVERSION  := `cat cvs_date|head -c8`
> > >> Makefile.in:RELEASEVERSION  := `cat cvs_date|head -c8`
> > >>
> > >> On Wed, 20 Sep 2006, Álvaro J. Iradier wrote:
> > >> > I think so. Please grep "cvs_date" * to check it's not used
> > >> > anywhere.
> > >> >
> > >> > Maybe you can use svn info to get the latest revision?
> > >> >
> > >> > Greets.
> > >> >
> > >> > On 9/20/06, Rafael Rodríguez <[EMAIL PROTECTED]> wrote:
> > >> > > BTW, then you agree that cvs_date can be removed? :=)
> > >> > >
> > >> > > El Miércoles, 20 de Septiembre de 2006 08:13, Álvaro J. Iradier
> > >
> > >escribió:
> > >> > > > cvs_date is not used anymore. We removed it because there were
> > >> > > > so
> > >
> > >many
> > >
> > >> > > > commits just for this. We were thinking about an alternative way
> > >
> > >(like
> > >
> > >> > > > updating some file inside the repository on every commit), but
> > >> > > > couldn't find any.
> > >> > > >
> > >> > > > Greets.
> > >> > > >
> > >> > > > On 9/19/06, Rafael Rodríguez <[EMAIL PROTECTED]>
> > >
> > >wrote:
> > >> > > > > Hi,
> > >> > > > >
> > >> > > > > while trying to fix the files inside debian/ directory, I
> > >> > > > > found
> > >
> > >that
> > >
> > >> > > > > cvs_date is very old (i guess unused as well) and also there
> > >> > > > > is
> > >
> > >no
> > >
> > >> > > > > svn_date.
> > >> > > > >
> > >> > > > > Can the latter one be generated somehow and the first one
> > >
> > >deleted from
> > >
> > >> > > > > the repository?
> > >> > > > >
> > >> > > > > Greetings,
> > >> > > > > --
> > >> > > > > Rafael Rodríguez
> > >> > > > >
> > >> > > > > http://unrincon.blogspot.com
> > >> > > > > http://cornerofcode.blogspot.com
> > >
> > >------------------------------------------------------------------------
> > >-
> > >
> > >> > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > >> > > > > Join SourceForge.net's Techsay panel and you'll get the chance
> > >
> > >to share
> > >
> > >> > > > > your opinions on IT & business topics through brief surveys --
> > >
> > >and earn
> > >
> > >> > > > > cash
> > >
> > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> > >V
> > >
> > >> > > > > _______________________________________________
> > >> > > > > Amsn-devel mailing list
> > >> > > > > Amsn-devel@lists.sourceforge.net
> > >> > > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > >> > >
> > >> > > --
> > >> > > Rafael Rodríguez
> > >> > >
> > >> > > http://unrincon.blogspot.com
> > >> > > http://cornerofcode.blogspot.com
> > >
> > >------------------------------------------------------------------------
> > >-
> > >
> > >> > > Take Surveys. Earn Cash. Influence the Future of IT
> > >> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > >
> > >share your
> > >
> > >> > > opinions on IT & business topics through brief surveys -- and earn
> > >
> > >cash
> > >
> > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> > >V
> > >
> > >> > > _______________________________________________
> > >> > > Amsn-devel mailing list
> > >> > > Amsn-devel@lists.sourceforge.net
> > >> > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > >> >
> > >> > --
> > >> > (:===========================================:)
> > >> >   Alvaro J. Iradier Muro - [EMAIL PROTECTED]
> > >
> > >------------------------------------------------------------------------
> > >-
> > >
> > >> > Take Surveys. Earn Cash. Influence the Future of IT
> > >> > Join SourceForge.net's Techsay panel and you'll get the chance to
> > >
> > >share your
> > >
> > >> > opinions on IT & business topics through brief surveys -- and earn
> > >
> > >cash
> > >
> > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> > >V
> > >
> > >> > _______________________________________________
> > >> > Amsn-devel mailing list
> > >> > Amsn-devel@lists.sourceforge.net
> > >> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > >>
> > >> ---
> > >>
> > >> "Where is the life that we have lost in living?
> > >>  Where is the wisdom that we have lost in knowledge?
> > >>  Where is the knowledge that we have lost in information?"
> > >>
> > >> OEO;
> > >
> > >------------------------------------------------------------------------
> > >-
> > >
> > >> Take Surveys. Earn Cash. Influence the Future of IT
> > >> Join SourceForge.net's Techsay panel and you'll get the chance to
> > >> share
> > >
> > >your
> > >
> > >> opinions on IT & business topics through brief surveys -- and earn
> > >> cash
> > >
> > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> > >V
> > >
> > >> _______________________________________________
> > >> Amsn-devel mailing list
> > >> Amsn-devel@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > >
> > >--
> > >(:===========================================:)
> > >  Alvaro J. Iradier Muro - [EMAIL PROTECTED]
> > >
> > >------------------------------------------------------------------------
> > >- Take Surveys. Earn Cash. Influence the Future of IT
> > >Join SourceForge.net's Techsay panel and you'll get the chance to share
> > >your
> > >opinions on IT & business topics through brief surveys -- and earn cash
> > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> > >V _______________________________________________
> > >Amsn-devel mailing list
> > >Amsn-devel@lists.sourceforge.net
> > >https://lists.sourceforge.net/lists/listinfo/amsn-devel
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your opinions on IT & business topics through brief surveys -- and earn
> > cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Amsn-devel mailing list
> > Amsn-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys -- and earn
> cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to