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
Label Promotion details
Re: Label Promotion details
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.
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
SourceGear
Technical Support Manager
Re: Label Promotion details
Thanks Linda, the branching at folder version looks like it will get me to where I want to be.
Cheers,
Brett
Cheers,
Brett
Re: Label Promotion details
Glad that works for you.
Let us know if you have further questions.
Let us know if you have further questions.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Label Promotion details
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
Re: Label Promotion details
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.
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
SourceGear
Technical Support Manager