You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by fi...@fishgills.net on 2005/01/08 22:51:13 UTC

[Md] Commited: "50"

SVN-fs-dump-format-version: 2

UUID: 0af607f0-deec-0310-afcb-c85d6e534aa2

Revision-number: 50
Prop-content-length: 119
Content-length: 119

... etc.

_______________________________________________
Md mailing list
Md@deliberate.com
http://mail.deliberate.com/lists/listinfo/md

---

> REPOS="$1"
> REV="$2"
> 
> # I kept the REPOS var in quotes just in case there are spaces
> #  or funny characters passed in.  
> # The REV var should always be an integer.
> /usr/local/bin/svnadmin dump "${REPOS}" -r${REV} --incremental > /backup/increments/${REV}
> 
> /bin/cat > /backup/increments/mailer << EOF
> From: fishgills@fishgills.net
> To: md@deliberate.com
> Subject: Commited: "${REV}"
> 
> EOF
> 
> /bin/cat /backup/increments/${REV} >> /backup/increments/mailer
> 
> /usr/exim/bin/exim -oMr DM_OUTSIDE_0_DELIVER_Inbox_none -t -f fishgills@fishgills.net < /backup/increments/mailer
> 
> ---
> > 
> > I fixed up the paths; I emptied my PATH; I ran it on the command line
> > -- fine.
> 
> For testing try this.
>    env -i /safe/hooks/post-commit /safe 48
> 
> This should truly empty your environment variables AFAIK.  Check `env`'s
> man page for more info.
> 
> > Is there a log or error output somewhere that I can be looking at?
> 
> No log file I know of.  If you want one (you are mostly making one by
> building an email for each revision) you need to make one in the script.

I was wishing that subversion would output the errors from trying to
run the script.

But, we have it now!

Thank you so much.

Marilyn



> 
> Nice to see you trying to answer some questions on the list too!
> 
> HTH's
> Chris
> 

-- 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org