Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: SVN::Client not committing?

by zigdon (Deacon)
on Nov 29, 2006 at 21:38 UTC ( [id://586828]=note: print w/replies, xml ) Need Help??


in reply to Re: SVN::Client not committing?
in thread SVN::Client not committing?

Actually, I believe when you do an 'svn commit' from the command line, it does implicitly update the committed resources in the working copy. But I did add an '$svn->update' call at the end of the script, but the checking after the script runs, it still shows the directory as just "marked for adding":
$ svn info mkdir Path: mkdir URL: file:///home/boger_d/lib/tmp/svn/test/mkdir Revision: 0 Node Kind: directory Schedule: add $ svn update At revision 1. $ svn info mkdir Path: mkdir URL: file:///home/boger_d/lib/tmp/svn/test/mkdir Revision: 0 Node Kind: directory Schedule: add

-- zigdon

Replies are listed 'Best First'.
Re^3: SVN::Client not committing?
by duncs (Beadle) on Jun 10, 2008 at 13:50 UTC
    Was there any answer to this in the end? I am suffering from the same problem.

    Duncs
      not very great docs indeed.. the issue is the log_msg (nice that it doesn't report it).. use something like this instead:
          my $log_msg_handler = sub {
              my $stringptr = shift;
              $$stringptr = "testing mkdir";
              return 1;
          };
          $svn->log_msg($log_msg_handler);
      
      That should do the trick -- hopefully this prevents someone pulling out their hair.
        Hi,

        ++Avi - that certainly helped me a lot, thanks.
        Regards,
        svenXY
      Sadly, I never did figure it out. Ended up writing the code in python, as the svn bindings there were more mature. Of course, it's been almost 2 years since then, so hopefully that is no longer the case.

      -- zigdon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://586828]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found