开发者

Organizing workflow with Mercurial and Netbeans (+ bitbucket.org?)

开发者 https://www.devze.com 2023-01-28 19:15 出处:网络
I\'ve never worked with any version control systems before. Now I\'m trying to learn Mercurial, but I\'m confused (I\'ve already read about 10-15 articles + hginit.com). I don\'t know how to organize

I've never worked with any version control systems before. Now I'm trying to learn Mercurial, but I'm confused (I've already read about 10-15 articles + hginit.com). I don't know how to organize the workflow.

I have a testing server and a production server. I work from my office computer and from my home laptop. I make changes directly on the testing server, and every week or so copy new code to my production server. I also need wiki/issues/etc. pretty much everything bitbucket.org has. I know tha开发者_运维技巧t's a bad way of doing things.

Is there any tutorial or articles on how to organize the workflow? I'd also appreciate any schemes/sketches describing the process.

Thank you!


[Edit: Changed based on comments]

Using Bitbucket

Once you have created an account.

  1. You should be able to create a repo with an appropriate url. Then you can clone it to create a local repository. Check out getting started.
  2. See the following to push the updates to BitBucket.
  3. BitBucket comes with very extensive documentation.

Also there are, other useful tools to work with BitBucket:

  1. BitbucketExtension that allows you to use command line for a number of operations.
  2. Using Mercurial Queues and bitbucket.org

Organizing workflow

You will have to evolve a workflow that suits you. In your case, it looks like you have a testing server and production server.

So , you can setup two repositories, one for the testing server ad one for production. You can make push to testing server automatic so that you can test out the changes immediately. You can tag releases that are then pushed to production server.

  1. Your local repo can be used to publish changes to testing server.
  2. You can push the approved changes, tagged to BitBucket repository.
0

精彩评论

暂无评论...
验证码 换一张
取 消