Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6691189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:43:23+00:00 2026-05-26T05:43:23+00:00

We are a small team of developers working with a Web Application which is

  • 0

We are a small team of developers working with a Web Application which is published using a Web Server that is only accessible throught FTP.

Our workflow is the following one:

  • A developer is working out some requested feature locally
  • When its done, commits it and Pushes to a ‘central’ repository
  • Few times a day, one of developers publishes the files that have been changed to a testing WebSite, to let key users see how does features have been implemented.
  • Once in a week, we deploy to our production site

As our Webserver doesnt support SSH, we can’t push changesets and update on the server, so we created a custom script which Transfers the changed files throught FTP.

Each time we use that script a new tag is created, so we know -using hg diff– the diference between tags (a release for us).

It was all fine until now, that we introduced branches in our workflow, to let a developer work on a radical changes in the code, and keep contributing in daily small changes which are published to production.

The problem is that hg diff doesnt support Branches (or seems that its still in development)

So, which would be the best way to do it ? some options we have been thinking about are:

  1. Mounting FTP as a Volume localy (using MacFuse or similar) and use mercurial push/update But would be so sloooow.
  2. Play around with Bundles and see if they can help us but seems quite complicated

Example

$ hg tag qa-001   /* init to see diferences QA Site */
$ hg tag prod-001 /* init to see diferences Production Site */
$ hg ci -m "working on a stable feature"
$ hg tag qa-002
$ hg ci -m "change on the stable feature"
$ hg tag qa-003
$ hg tag prod-002
$ hg ci -m "another change on stable"
$ hg pull ../CentralRepo  /*Where there is another Branch with unstable files*/

With last operation, a new head is created , so now there are two heads (stable, and unstable branch)

$hg diff -r qa-003 -r tip

The Result of hg diff is showing up the Unstable Files without doing the merge

Many Thanks for your comments

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:43:23+00:00Added an answer on May 26, 2026 at 5:43 am

    In your example, you are creating tags, not (named) branches. Tags won’t help you to create separate lines of development: they are just stand-alone identifiers assigned with particular revisions.

    Creating branches

    To start using branches, you probably want to review some tutorials, such as:

    • Chapter 8. Managing releases and branchy development (from Bryan O’Sullivan’s book)
    • A Guide to Branching in Mercurial (Steve Losh)

    Based on your description, you probably want to create prod and qa branches based on your current default branch, as well as any feature / topic branches you might want for radical changes.

    Once you have these branches in place, it’s very easy to compare them, merge between them, see what changes are pending from one to the other, and so on as your workflow demands.

    Bundles

    1. Play around with Bundles and see if they can help us but seems quite complicated

    If you only have FTP access, then bundles probably won’t help you. You could upload a bundle to the server via FTP, but you would need to be able to run hg on the server to unpack the bundle into a repository.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a small team of web application developers. We edit JSPs
We are a small team of 4 developers working on a web application. We
I am working in an environment with a very small team (3 developers only)
I am working with a small team (2 others) of developers that are geographically
We're a small team of developers and building a web application. We're currently having
I have been using git and github with my small team of developers for
We have a small 3 developer team that is currently using Subversion for our
I work on a small web team where I am the only .NET developer
I'm working with a small team of developers. My job is to convert a
We are a small team of developers planing to develop a php application. (let's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.