Re: [uportal-dev] pre-commit hook re: svn:mime-type preventing commit
I have run into this same error using TortoiseSVN (SVN GUI for Windows) when adding new files. My config file looks correct, but I continue to get the error. No resolution thus far. Gary Thompson - Original Message - From: Nicholas Blair nicholas.bl...@gmail.com To: uportal-dev@lists.ja-sig.org Sent: Sunday, February 28, 2010 5:02:44 PM GMT -07:00 U.S. Mountain Time (Arizona) Subject: Re: [uportal-dev] pre-commit hook re: svn:mime-type preventing commit I'll give it a shot next time I have to add a new file. On Sun, Feb 28, 2010 at 12:09 PM, Cris J Holdorph holdo...@unicon.net wrote: So do you see the same behavior if you do the the subversion add from the command line? Cris J H Nicholas Blair wrote: Via eclipse. I'm using the have the JavaHL client. I should add I've added one line to the uportal subversion config as prescriped by subclipse to deal with a subversion bug that appears when using the gnome-keyring: password-stores = On Sun, Feb 28, 2010 at 11:39 AM, Cris J Holdorph holdo...@unicon.net wrote: Did you do the subversion add from the command line or from eclipse? If from eclipse, does anyone know if subclipse will use/pick up those parts of the subversion config file? Cris J H Nicholas Blair wrote: I have the uportal subversion config file from http://www.ja-sig.org/wiki/display/UPC/uPortal+3+Subversion+Configuration in my .subversion directory (Eclipse Galileo, latest subclipse plugin, ubuntu karmic workstation), but every time I try to commit a new file I get the following message copied at the bottom of this message. It doesn't seem to be an issue for commits on existing files, only on new files. I looked at the svn properties for the file in question, and the following exist: svn:eol-style native svn:keywords Date Revision Author HeadURL Id These properties match values on other files in the same directory. Any ideas Error message below: Transmitting file data ... A repository hook failed svn: Commit failed (details follow): svn: 'pre-commit' hook failed with error output: Running /jasig/tools/subversion/subversion/bin/svnlook changed /jasig/svn/jasig -t 48014-1 Running /jasig/tools/subversion/subversion/bin/svnlook proplist /jasig/svn/jasig -t 48014-1 --verbose uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java /jasig/svn/jasig/hooks/check-mime-type.pl: uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java : svn:mime-type is not set Every added file must have the svn:mime-type property set. In addition text files must have the svn:eol-style property set. For binary files try running svn propset svn:mime-type application/octet-stream path/of/file For text files try svn propset svn:mime-type text/plain path/of/file svn propset svn:eol-style native path/of/file You may want to consider uncommenting the auto-props section in your ~/.subversion/config file. Read the Subversion book (http://svnbook.red-bean.com/), Chapter 7, Properties section, Automatic Property Setting subsection for more help. -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: nicholas.bl...@gmail.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: nicholas.bl...@gmail.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: g...@unicon.net To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re:[uportal-dev] pre-commit hook re: svn:mime-type preventing commit
Add and commit of the new file succeeds if I manually set: svn:mime-type text/plain I don't see any obvious typos with the *.java line in the uportal subversion config: *.java = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id;svn:mime-type=text/plain So I'm stumped. On Sun, Feb 28, 2010 at 11:30 AM, Nicholas Blair nicholas.bl...@gmail.com wrote: I have the uportal subversion config file from http://www.ja-sig.org/wiki/display/UPC/uPortal+3+Subversion+Configuration in my .subversion directory (Eclipse Galileo, latest subclipse plugin, ubuntu karmic workstation), but every time I try to commit a new file I get the following message copied at the bottom of this message. It doesn't seem to be an issue for commits on existing files, only on new files. I looked at the svn properties for the file in question, and the following exist: svn:eol-style native svn:keywords Date Revision Author HeadURL Id These properties match values on other files in the same directory. Any ideas Error message below: Transmitting file data ... A repository hook failed svn: Commit failed (details follow): svn: 'pre-commit' hook failed with error output: Running /jasig/tools/subversion/subversion/bin/svnlook changed /jasig/svn/jasig -t 48014-1 Running /jasig/tools/subversion/subversion/bin/svnlook proplist /jasig/svn/jasig -t 48014-1 --verbose uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java /jasig/svn/jasig/hooks/check-mime-type.pl: uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java : svn:mime-type is not set Every added file must have the svn:mime-type property set. In addition text files must have the svn:eol-style property set. For binary files try running svn propset svn:mime-type application/octet-stream path/of/file For text files try svn propset svn:mime-type text/plain path/of/file svn propset svn:eol-style native path/of/file You may want to consider uncommenting the auto-props section in your ~/.subversion/config file. Read the Subversion book (http://svnbook.red-bean.com/), Chapter 7, Properties section, Automatic Property Setting subsection for more help. -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] pre-commit hook re: svn:mime-type preventing commit
Did you do the subversion add from the command line or from eclipse? If from eclipse, does anyone know if subclipse will use/pick up those parts of the subversion config file? Cris J H Nicholas Blair wrote: I have the uportal subversion config file from http://www.ja-sig.org/wiki/display/UPC/uPortal+3+Subversion+Configuration in my .subversion directory (Eclipse Galileo, latest subclipse plugin, ubuntu karmic workstation), but every time I try to commit a new file I get the following message copied at the bottom of this message. It doesn't seem to be an issue for commits on existing files, only on new files. I looked at the svn properties for the file in question, and the following exist: svn:eol-style native svn:keywords Date Revision Author HeadURL Id These properties match values on other files in the same directory. Any ideas Error message below: Transmitting file data ... A repository hook failed svn: Commit failed (details follow): svn: 'pre-commit' hook failed with error output: Running /jasig/tools/subversion/subversion/bin/svnlook changed /jasig/svn/jasig -t 48014-1 Running /jasig/tools/subversion/subversion/bin/svnlook proplist /jasig/svn/jasig -t 48014-1 --verbose uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java /jasig/svn/jasig/hooks/check-mime-type.pl: uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java : svn:mime-type is not set Every added file must have the svn:mime-type property set. In addition text files must have the svn:eol-style property set. For binary files try running svn propset svn:mime-type application/octet-stream path/of/file For text files try svn propset svn:mime-type text/plain path/of/file svn propset svn:eol-style native path/of/file You may want to consider uncommenting the auto-props section in your ~/.subversion/config file. Read the Subversion book (http://svnbook.red-bean.com/), Chapter 7, Properties section, Automatic Property Setting subsection for more help. -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] pre-commit hook re: svn:mime-type preventing commit
Via eclipse. I'm using the have the JavaHL client. I should add I've added one line to the uportal subversion config as prescriped by subclipse to deal with a subversion bug that appears when using the gnome-keyring: password-stores = On Sun, Feb 28, 2010 at 11:39 AM, Cris J Holdorph holdo...@unicon.net wrote: Did you do the subversion add from the command line or from eclipse? If from eclipse, does anyone know if subclipse will use/pick up those parts of the subversion config file? Cris J H Nicholas Blair wrote: I have the uportal subversion config file from http://www.ja-sig.org/wiki/display/UPC/uPortal+3+Subversion+Configuration in my .subversion directory (Eclipse Galileo, latest subclipse plugin, ubuntu karmic workstation), but every time I try to commit a new file I get the following message copied at the bottom of this message. It doesn't seem to be an issue for commits on existing files, only on new files. I looked at the svn properties for the file in question, and the following exist: svn:eol-style native svn:keywords Date Revision Author HeadURL Id These properties match values on other files in the same directory. Any ideas Error message below: Transmitting file data ... A repository hook failed svn: Commit failed (details follow): svn: 'pre-commit' hook failed with error output: Running /jasig/tools/subversion/subversion/bin/svnlook changed /jasig/svn/jasig -t 48014-1 Running /jasig/tools/subversion/subversion/bin/svnlook proplist /jasig/svn/jasig -t 48014-1 --verbose uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java /jasig/svn/jasig/hooks/check-mime-type.pl: uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java : svn:mime-type is not set Every added file must have the svn:mime-type property set. In addition text files must have the svn:eol-style property set. For binary files try running svn propset svn:mime-type application/octet-stream path/of/file For text files try svn propset svn:mime-type text/plain path/of/file svn propset svn:eol-style native path/of/file You may want to consider uncommenting the auto-props section in your ~/.subversion/config file. Read the Subversion book (http://svnbook.red-bean.com/), Chapter 7, Properties section, Automatic Property Setting subsection for more help. -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: nicholas.bl...@gmail.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] pre-commit hook re: svn:mime-type preventing commit
So do you see the same behavior if you do the the subversion add from the command line? Cris J H Nicholas Blair wrote: Via eclipse. I'm using the have the JavaHL client. I should add I've added one line to the uportal subversion config as prescriped by subclipse to deal with a subversion bug that appears when using the gnome-keyring: password-stores = On Sun, Feb 28, 2010 at 11:39 AM, Cris J Holdorph holdo...@unicon.net wrote: Did you do the subversion add from the command line or from eclipse? If from eclipse, does anyone know if subclipse will use/pick up those parts of the subversion config file? Cris J H Nicholas Blair wrote: I have the uportal subversion config file from http://www.ja-sig.org/wiki/display/UPC/uPortal+3+Subversion+Configuration in my .subversion directory (Eclipse Galileo, latest subclipse plugin, ubuntu karmic workstation), but every time I try to commit a new file I get the following message copied at the bottom of this message. It doesn't seem to be an issue for commits on existing files, only on new files. I looked at the svn properties for the file in question, and the following exist: svn:eol-style native svn:keywords Date Revision Author HeadURL Id These properties match values on other files in the same directory. Any ideas Error message below: Transmitting file data ... A repository hook failed svn: Commit failed (details follow): svn: 'pre-commit' hook failed with error output: Running /jasig/tools/subversion/subversion/bin/svnlook changed /jasig/svn/jasig -t 48014-1 Running /jasig/tools/subversion/subversion/bin/svnlook proplist /jasig/svn/jasig -t 48014-1 --verbose uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java /jasig/svn/jasig/hooks/check-mime-type.pl: uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java : svn:mime-type is not set Every added file must have the svn:mime-type property set. In addition text files must have the svn:eol-style property set. For binary files try running svn propset svn:mime-type application/octet-stream path/of/file For text files try svn propset svn:mime-type text/plain path/of/file svn propset svn:eol-style native path/of/file You may want to consider uncommenting the auto-props section in your ~/.subversion/config file. Read the Subversion book (http://svnbook.red-bean.com/), Chapter 7, Properties section, Automatic Property Setting subsection for more help. -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: nicholas.bl...@gmail.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] pre-commit hook re: svn:mime-type preventing commit
I'll give it a shot next time I have to add a new file. On Sun, Feb 28, 2010 at 12:09 PM, Cris J Holdorph holdo...@unicon.net wrote: So do you see the same behavior if you do the the subversion add from the command line? Cris J H Nicholas Blair wrote: Via eclipse. I'm using the have the JavaHL client. I should add I've added one line to the uportal subversion config as prescriped by subclipse to deal with a subversion bug that appears when using the gnome-keyring: password-stores = On Sun, Feb 28, 2010 at 11:39 AM, Cris J Holdorph holdo...@unicon.net wrote: Did you do the subversion add from the command line or from eclipse? If from eclipse, does anyone know if subclipse will use/pick up those parts of the subversion config file? Cris J H Nicholas Blair wrote: I have the uportal subversion config file from http://www.ja-sig.org/wiki/display/UPC/uPortal+3+Subversion+Configuration in my .subversion directory (Eclipse Galileo, latest subclipse plugin, ubuntu karmic workstation), but every time I try to commit a new file I get the following message copied at the bottom of this message. It doesn't seem to be an issue for commits on existing files, only on new files. I looked at the svn properties for the file in question, and the following exist: svn:eol-style native svn:keywords Date Revision Author HeadURL Id These properties match values on other files in the same directory. Any ideas Error message below: Transmitting file data ... A repository hook failed svn: Commit failed (details follow): svn: 'pre-commit' hook failed with error output: Running /jasig/tools/subversion/subversion/bin/svnlook changed /jasig/svn/jasig -t 48014-1 Running /jasig/tools/subversion/subversion/bin/svnlook proplist /jasig/svn/jasig -t 48014-1 --verbose uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java /jasig/svn/jasig/hooks/check-mime-type.pl: uPortal/branches/working-pluto-2.0/uportal-impl/src/main/java/org/jasig/portal/spring/locator/PortalDriverContainerServicesLocator.java : svn:mime-type is not set Every added file must have the svn:mime-type property set. In addition text files must have the svn:eol-style property set. For binary files try running svn propset svn:mime-type application/octet-stream path/of/file For text files try svn propset svn:mime-type text/plain path/of/file svn propset svn:eol-style native path/of/file You may want to consider uncommenting the auto-props section in your ~/.subversion/config file. Read the Subversion book (http://svnbook.red-bean.com/), Chapter 7, Properties section, Automatic Property Setting subsection for more help. -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: nicholas.bl...@gmail.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: nicholas.bl...@gmail.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev