Commits

Anonymous committed 4fe5c18

removed extra Path line that was breaking the windows install

  • Participants
  • Parent commits ec689d5

Comments (0)

Files changed (1)

File lib/Padre/Plugin/HG.pm

 sub vcs_add {
 	my ($self, $path, $dir) = @_;
 	my $main = Padre->ide->wx->main;
-	my $command = eval "qq\0$VCSCommand{add} $path\0";
+	my $command = eval "qq\0$VCSCommand{add}\0";
 	my $result = $self->vcs_execute($command,$dir);
 	$main->message( $result, "$VCS Adding to Repository" );
 	return;	
 	my ($self, $path, $dir) = @_;
 	
 	my $main = Padre->ide->wx->main;
-	my $command = eval "qq\0$VCSCommand{diff} $path\0";
+	my $command = eval "qq\0$VCSCommand{diff}\0";
 	return $main->error('File not in a $VCS Project', "Padre $VCS" ) if not $self->_project_root($path);
 	my $result = $self->vcs_execute($command, $dir);
 	return $result;
 	my ($self, $path, $dir) = @_;
 	
 	my $main = Padre->ide->wx->main;
-	my $command = eval "qq\0$VCSCommand{log} $path\0";
+	my $command = eval "qq\0$VCSCommand{log}\0";
 	return $main->error('File not in a $VCS Project', "Padre $VCS" ) if not $self->_project_root($path);
 	my $result = $self->vcs_execute($command, $dir);
 	return $result;