CVS: Commit file to a different branch

Hello,

i wonder if it's possible to commit a file to a different branch from my working copy's branch?
I'm using IDEA 7.0.3

0
4 comments

Jay wrote:

Hello,

i wonder if it's possible to commit a file to a different branch from my working copy's branch?
I'm using IDEA 7.0.3

The safest way to do this is to checkout the different branch into a
seperate local sandbox. Then you can copy the file over from the
working sandbox and commit it.

N.

0

Thank you!

Are there any not-so-safe ways? =)

0

I'm also trying to find not-so-safe way :)
Does anyone has any idea?

0

Megen wrote:

I'm also trying to find not-so-safe way :)
Does anyone has any idea?

Whatever you do you have to switch the local copy of the file to the
target branch, so that cvs knows where to commit it. If you don't want
to do your entire sandbox, just do the files in question.
The reason there's no 'quick' way for this is that you really need to
think about and understand what you're doing...

N.

0

Please sign in to leave a comment.