[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subclipse-users
Subject:    [Subclipse-users] RE: Bug? "Entry already exists"
From:       "Arpe, Kevin C" <Kevin.C.Arpe () jpmorgan ! com>
Date:       2011-04-14 4:35:50
Message-ID: A092B47643AE4B4DA4B006612FDB00AC028C4778C6 () EMAHC102VS01 ! exchad ! jpmchase ! net
[Download RAW message or body]

I spoke too soon.

Even after svn delete at command line, my problem is not resolved.  Now I get a new \
error from Subclipse. I need to re-insert the files in Eclipse to fix the problem.

=======
add -N C:\eclipse\workspace\JPM-AS400\meta\jar-export-for-ctstudio.jardesc
    Path is not a working copy directory
svn: 'C:\eclipse\workspace\JPM-AS400\meta' is not a working copy
=======

From: Arpe, Kevin C
Sent: Thursday, April 14, 2011 11:57 AM
To: 'users@subclipse.tigris.org'
Subject: Bug? "Entry already exists"

Hi,

I am using Subclipse 1.6.17 with Eclipse Helios SR2 (20110301-1815).
I ran "Install Software Updates" before doing this test again.

Here is my scenario that fails.  I can reproduce everytime.

In an SVN project in Eclipse:
1) Add a new file (anything is OK).
2) Team -> Commit...
3) Leave the message blank
4) Commit will fail because my repository has a hook to prevent empty messages.

=======
add -N C:\eclipse\workspace\JPM-AS400\meta
    A         C:/eclipse/workspace/JPM-AS400/meta
add -N C:\eclipse\workspace\JPM-AS400\meta\jar-export-for-ctstudio.jardesc
    A         C:/eclipse/workspace/JPM-AS400/meta/jar-export-for-ctstudio.jardesc
commit -m "" C:/eclipse/workspace/JPM-AS400/.classpath \
C:/eclipse/workspace/JPM-AS400/meta \
C:/eclipse/workspace/JPM-AS400/meta/jar-export-for-ctstudio.jardesc  Sending        \
C:/eclipse/workspace/JPM-AS400/.classpath  Adding         \
C:/eclipse/workspace/JPM-AS400/meta  Adding         \
C:/eclipse/workspace/JPM-AS400/meta/jar-export-for-ctstudio.jardesc  Transmitting \
file data ...  A repository hook failed
svn: Commit failed (details follow):
svn: Commit blocked by pre-commit hook (exit code 1) with output:
Empty comments are not allowed.
=======

5) Try the commit again.  Team -> Commit...
6) Enter a message
7) It fails with a new error message.

=======
add -N C:\eclipse\workspace\JPM-AS400\meta\jar-export-for-ctstudio.jardesc
    Entry already exists
svn: 'C:\eclipse\workspace\JPM-AS400\meta\jar-export-for-ctstudio.jardesc' is already \
under version control =======

When I run svn status at the command line, the files are already added.  Makes sense. \
I need to run: svn delete --force --keep-local <added-files>

Then I try commit again (with a message) and it works.

Step 7 seems like a bug, or I am using Subclipse wrong.

Can you please advise?

Thanks,
Arpe



This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2719655

To unsubscribe from this discussion, e-mail: \
[users-unsubscribe@subclipse.tigris.org].


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:x="urn:schemas-microsoft-com:office:excel" \
xmlns:p="urn:schemas-microsoft-com:office:powerpoint" \
xmlns:a="urn:schemas-microsoft-com:office:access" \
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" \
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" \
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" \
xmlns:b="urn:schemas-microsoft-com:office:publisher" \
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" \
xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" \
xmlns:odc="urn:schemas-microsoft-com:office:odc" \
xmlns:oa="urn:schemas-microsoft-com:office:activation" \
xmlns:html="http://www.w3.org/TR/REC-html40" \
xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" \
xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" \
xmlns:Repl="http://schemas.microsoft.com/repl/" \
xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" \
xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" \
xmlns:ppda="http://www.passport.com/NameSpace.xsd" \
xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" \
xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" \
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" \
xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" \
xmlns:udc="http://schemas.microsoft.com/data/udc" \
xmlns:xsd="http://www.w3.org/2001/XMLSchema" \
xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" \
xmlns:ec="http://www.w3.org/2001/04/xmlenc#" \
xmlns:sp="http://schemas.microsoft.com/sharepoint/" \
xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" \
xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" \
xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" \
xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" \
xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" \
xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" \
xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" \
xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" \
xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" \
xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" \
xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" \
xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" \
xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" \
xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I spoke too \
soon.<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Even after \
svn delete at command line, my problem is not resolved.&nbsp; Now I get a new error \
from Subclipse.<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I need to \
re-insert the files in Eclipse to fix the problem.<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>=======<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier \
New";color:#1F497D'>add -N \
C:\eclipse\workspace\JPM-AS400\meta\jar-export-for-ctstudio.jardesc<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier \
New";color:#1F497D'>&nbsp;&nbsp;&nbsp; Path is not a working copy \
directory<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>svn: \
'C:\eclipse\workspace\JPM-AS400\meta' is not a working copy<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>=======<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div \
style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p \
class=MsoNormal><b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Arpe, Kevin C \
<br><b>Sent:</b> Thursday, April 14, 2011 11:57 AM<br><b>To:</b> \
'users@subclipse.tigris.org'<br><b>Subject:</b> Bug? &quot;Entry already \
exists&quot;<o:p></o:p></span></p></div></div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hi,<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I \
am using Subclipse 1.6.17 with Eclipse Helios SR2 \
(20110301-1815).<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I ran &quot;Install \
Software Updates&quot; before doing this test again.<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Here is my scenario that \
fails.&nbsp; I can reproduce everytime.<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>In \
an SVN project in Eclipse:<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>1) Add a new file \
(anything is OK).<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>2) Team -&gt; \
Commit&#8230;<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>3) Leave the message \
blank<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>4) Commit will fail \
because my repository has a hook to prevent empty messages.<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>=======<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier New"'>add -N \
C:\eclipse\workspace\JPM-AS400\meta<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; \
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
C:/eclipse/workspace/JPM-AS400/meta<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Courier New"'>add -N \
C:\eclipse\workspace\JPM-AS400\meta\jar-export-for-ctstudio.jardesc<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier \
New"'>&nbsp;&nbsp;&nbsp; A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
C:/eclipse/workspace/JPM-AS400/meta/jar-export-for-ctstudio.jardesc<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier New"'>commit -m \
&quot;&quot; C:/eclipse/workspace/JPM-AS400/.classpath \
C:/eclipse/workspace/JPM-AS400/meta \
C:/eclipse/workspace/JPM-AS400/meta/jar-export-for-ctstudio.jardesc<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier \
New"'>&nbsp;&nbsp;&nbsp; Sending&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
C:/eclipse/workspace/JPM-AS400/.classpath<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier \
New"'>&nbsp;&nbsp;&nbsp; Adding&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
C:/eclipse/workspace/JPM-AS400/meta<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; \
Adding&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
C:/eclipse/workspace/JPM-AS400/meta/jar-export-for-ctstudio.jardesc<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier \
New"'>&nbsp;&nbsp;&nbsp; Transmitting file data ...<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier \
New"'>&nbsp;&nbsp;&nbsp; A repository hook failed<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier New"'>svn: Commit \
failed (details follow):<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Courier New"'>svn: Commit blocked by pre-commit \
hook (exit code 1) with output:<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Courier New"'>Empty comments are not \
allowed.<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>=======<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>5) \
Try the commit again.&nbsp; Team -&gt; Commit&#8230;<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>6) \
Enter a message<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>7) It fails with a new \
error message.<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>=======<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier New"'>add -N \
C:\eclipse\workspace\JPM-AS400\meta\jar-export-for-ctstudio.jardesc<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier \
New"'>&nbsp;&nbsp;&nbsp; Entry already exists<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier New"'>svn: \
'C:\eclipse\workspace\JPM-AS400\meta\jar-export-for-ctstudio.jardesc' is already \
under version control<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>=======<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>When I run svn status at \
the command line, the files are already added.&nbsp; Makes sense.&nbsp; I need to \
run:<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>svn delete --force \
--keep-local &lt;added-files&gt;<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Then I try commit again \
(with a message) and it works.<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Step 7 seems like a bug, \
or I am using Subclipse wrong.<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Can \
you please advise?<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Thanks,<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Arpe<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p></div></body></html>
 <p><span STYLE="color :#000000;background-color :#FFFFFF">
This email is confidential and subject to important disclaimers and conditions \
including on offers for the purchase or sale of securities, accuracy and completeness \
of information, viruses, confidentiality, legal privilege, and legal entity \
disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.   \
</span></p>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic