Size limit for shelfset when migrating
-
12 декабря 2011 г. 10:19
I am attempting to use tfpt for the first time to move a shelfset from one branch to another. When I do so, I get the following error: "TF10131: The shelveset name CR135 Originations Updated CAM to use guid instead of frie_backup1 contains more than 64 characters, contains one of the following characters: "/:<>\|*?; or ends with a space. Type a valid name and try again"
Now the original shelfset name has exactly 64 characters and it appears that the temporary shelfset name for migration has made this 65 characters. I cannot rename the shelfset because that would mean unshelving it from a read-only workspace (so I can't re-shelf it with a different name). I don't know why there is a size limit of 64 but even so there is presumably a bug that the names will need to be 63 or less to make tfpt work.
Either way, does anyone have a solution for what I need to do? I don't want to manually merge the code into the target branch using WinMerge or anything like that, I would rather TFS detected the differences.
Все ответы
-
14 декабря 2011 г. 9:48Модератор
Hi Luke,
Welcome to MSDN forum.
According to your description of the issue, I suppose you want to move a shelveset from one branch to another branch by using tfpt unshelve /migrate /source:serverpath /target:serverpath.
I have simulated this issue and got the same error TF10131 as below screen shot.
Here is a situation i want to clarify from you:
By "I cannot rename the shelfset because that would mean unshelving it from a read-only workspace (so I can't re-shelf it with a different name). ", do you mean you do not have enough permission of version control or something else.If anything is unclear, please free feel to let me know.
Best Regards,
Lily Wu [MSFT]
MSDN Community Support | Feedback to us
- Изменено Lily_WuMicrosoft Contingent Staff, Moderator 14 декабря 2011 г. 9:55
- Изменено Lily_WuMicrosoft Contingent Staff, Moderator 14 декабря 2011 г. 9:56
- Изменено Lily_WuMicrosoft Contingent Staff, Moderator 14 декабря 2011 г. 10:20
- Изменено Lily_WuMicrosoft Contingent Staff, Moderator 14 декабря 2011 г. 10:29
-
31 декабря 2011 г. 1:19
I ran into this as well and submitted a bug report here:
-
31 декабря 2011 г. 1:46
The work-around is to specify the /nobackup switch as follows:
tfpt.exe unshelve /nobackup /migrate /source:serverpath /target:serverpath
- Предложено в качестве ответа rami_ 31 декабря 2011 г. 1:46

