Label Promotion details

If you are having a problem using Vault, post a message here.
Post Reply
BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Label Promotion details

Post by BigBrett » Wed May 29, 2013 3:34 am

I have a label on a folder that has had some 30 label promotions made on it so we can no longer branch from that label.

Is there a way to get a list of all the promotions that were made ?

Is there a way to undo the promotions so we can branch on the label ?

Cheers,
Brett

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Label Promotion details

Post by lbauer » Wed May 29, 2013 7:18 am

We don't keep a list of the promotions. Even if you undo the promotions, the branch command still isn't available because the label has been modified.

Do you want to branch from the label that was first applied to the folder, before promotion?

If so you could look in Show Labels to see what folder version the label was applied at.

Then in the folder tree, right-click on the folder and select Show History. Select the radio button for ViewHistory by Version.

This will give a list of folder versions. Click on the version that was originally labeled, then choose Branch from the menu at the right of the History dialog.
Linda Bauer
SourceGear
Technical Support Manager

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Re: Label Promotion details

Post by BigBrett » Wed May 29, 2013 8:08 am

Thanks Linda, the branching at folder version looks like it will get me to where I want to be.

Cheers,
Brett

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Label Promotion details

Post by lbauer » Wed May 29, 2013 6:30 pm

Glad that works for you.

Let us know if you have further questions.
Linda Bauer
SourceGear
Technical Support Manager

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Re: Label Promotion details

Post by BigBrett » Wed May 29, 2013 11:32 pm

Unfortunately I am unable to branch from the folder version due to a transaction timeout. The Vault log details are as follows:

Code: Select all

----30/05/2013 7:20:54 AM    dev2--DEV2-PCE(10.10.15.12)--SSL Disabled	Login 
----30/05/2013 7:27:48 AM    dev10--DEV10-PCC(10.10.15.20)--SSL Disabled	Login 
----30/05/2013 7:28:43 AM    dev2--DEV2-PCE(10.10.15.12)--SSL Disabled	System.Data.SqlClient.SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at VaultServiceSQL.VaultSqlSCC.CreateSessionBranchSandbox(VaultSqlConn conn, String strSessionID, Int32 nRepID, Int32 nTxItem, Byte nTxType, Int64 nObjVerID)    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at VaultServiceSQL.VaultSqlSCC.CreateSessionBranchSandbox(VaultSqlConn conn, String strSessionID, Int32 nRepID, Int32 nTxItem, Byte nTxType, Int64 nObjVerID)
----30/05/2013 7:28:43 AM    dev2--DEV2-PCE(10.10.15.12)--SSL Disabled	BeginTx: Failure 
----30/05/2013 7:28:43 AM    dev2--DEV2-PCE(10.10.15.12)--SSL Disabled	(b0f61b57-6426-4db3-891f-317a2b6ca2f5) BeginTx returned: FailInvalidToken 
----30/05/2013 7:28:43 AM    dev2--DEV2-PCE(10.10.15.12)--SSL Disabled		(b0f61b57-6426-4db3-891f-317a2b6ca2f5) CopyBranch: $/CivilDesigner.root/CivilDesigner.trunk to $/CivilDesigner.root/CivilDesigner2013 returned: nil 

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Label Promotion details

Post by lbauer » Thu May 30, 2013 7:53 am

You can extend the SQL timeout in the Vault.config file in the VaultService directory.

Look for this line:
<SqlCommandTimeout>360</SqlCommandTimeout>

Change the value to 7200, which is the maximum.

Restart IIS with an iisreset command from a command prompt, then try the branch again.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply