On 11/11/05, Nicolas Desprès <nicolas.despres(a)gmail.com> wrote:
Bonjour,
Je ne sais pas si c'est un bug ou si c'est "prévu" mais je poste la
trace quand meme:
---trace---
zugarramundi:..h/trunk/web/ranch>svn up
A test/unit/output_test.rb
svn: Failed to add file 'test/functional/graph_controller_test.rb':
object of the same name already exists
/usr/lib/ruby/gems/1.8/gems/vcs-0.4.1/lib/vcs/vcs.rb:297: warning:
multiple values for a block parameter (2 for 1)
Je crois savoir
from (eval):3
[vcs] error: undefined method `output' for #<Array:0xb7b01844>
zugarramundi:..trunk/web/ranch:1>svn st
! .
! test
? test/functional/graph_controller_test.rb
! test/functional
? app/helpers/graph_helper.rb
? app/controllers/graph_controller.rb
? app/views/graph
? log/test.log
? log/development.log
? db/development_structure.sql
zugarramundi:..h/trunk/web/ranch>../..
zugarramundi:../lrde/ranch/trunk>svn up
U web/ranch/test/functional/graph_form_controller_test.rb
U web/ranch/test/functional/benches_controller_test.rb
svn: Failed to add file
'web/ranch/test/functional/graph_controller_test.rb': object of the
same name already exists
/usr/lib/ruby/gems/1.8/gems/vcs-0.4.1/lib/vcs/vcs.rb:297: warning:
multiple values for a block parameter (2 for 1)
from (eval):3
[vcs] error: undefined method `output' for #<Array:0xb7a4dcd0>
zugarramundi:..rde/ranch/trunk:1>svn up
U ChangeLog
svn: Failed to add file
'web/ranch/test/functional/graph_controller_test.rb': object of the
same name already exists
/usr/lib/ruby/gems/1.8/gems/vcs-0.4.1/lib/vcs/vcs.rb:297: warning:
multiple values for a block parameter (2 for 1)
from (eval):3
[vcs] error: undefined method `output' for #<Array:0xb7b0ecd0>
zugarramundi:..rde/ranch/trunk:1>svn up
svn: Failed to add file
'web/ranch/test/functional/graph_controller_test.rb': object of the
same name already exists
/usr/lib/ruby/gems/1.8/gems/vcs-0.4.1/lib/vcs/vcs.rb:297: warning:
multiple values for a block parameter (2 for 1)
from (eval):3
[vcs] error: undefined method `output' for #<Array:0xb7aa6cd0>
zugarramundi:..rde/ranch/trunk:1>\svn up
svn: Failed to add file
'web/ranch/test/functional/graph_controller_test.rb': object of the
same name already exists
zugarramundi:..rde/ranch/trunk:1>
---trace---
En gros, le scenario est le suivant:
- j'ai travailler chez moi sur ranch et j'ai laissé du travail non
terminé dans ma WC.
- je vais au labo et poursuit ce travail qui finalement différe
légèrement de la premiere
implementation et je fais plusieurs commit.
- je rentre chez moi et tente de mettre a jour avec les erreurs ci-dessus.
La question est: est-ce normal que vcs se plante quand svn renvoie des erreurs ?
zugarramundi:..rde/ranch/trunk:1>vcs --version
Vcs version: 0.4.0
zugarramundi:../lrde/ranch/trunk>svn --version
help (?, h): Describe the usage of this program or its subcommands.
usage: help [SUBCOMMAND...]
Valid options:
--version : print client version info
-q [--quiet] : print as little as possible
--config-dir arg : read user configuration files from directory ARG
zugarramundi:../lrde/ranch/trunk>uname -a
Linux zugarramundi 2.6.12.2 #8 Fri Jul 8 02:08:21 CEST 2005 i686 GNU/Linux
C'est une incompatibilité entre ruby_ex et vcs (c'est du au fait que
je t'ai filé une nouvelle version) j'ai essayé de garder la
compatibilité mais ce n'est possible que dans l'autre sens (cad que un
vcs recent pourai gerer le ruby_ex recent et vieux).
Bref 2 solutions:
- soit tu met le vcs en piece jointe (je n'ai pas eu de pb avec depuis
une semaine, et il est maintenant en test depuis un mois)
- soit tu retire le ruby_ex et le core_ex que je t'ai donné.
Désolé pour le temps de réponse
--
Nicolas Pouillard aka Ertai <ertai(a)feydakins.org>
http://uttk.org Uttk -- Unified Test Tool Kit