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 508899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:57:18+00:00 2026-05-13T06:57:18+00:00

Is it possible to emulate the behavior of ‘git stash’ when using fossil/bzr? Basically

  • 0

Is it possible to emulate the behavior of ‘git stash’ when using fossil/bzr?

Basically I’m interested in handling the following workflow:

  • at some point the source code tree has state X, it is commited
  • I proceed to writing new code, I write it for a while and I see the
    opportunity of a refactoring
  • I can’t commit at this point, because the change I’ve started to make is not
    completed, it is not atomic yet
  • at this point I would do ‘git stash’, would save the current work and would
    get back to state X
  • I would do the refactoring and commit, source code now has state Y
  • I would merge source code in state Y with code in stash, complete the change
    to make it atomic, then commit once again, pushing the source code to state Z

I think that generally it is possible to emulate this scenario when using
another SCM by branching the code in state X instead of doing ‘git stash’,
doing the refactoring in that branch, then merging the branch back into the
main one. But I’m aware that branching is not always a cheap operation. So are
there any better particular approaches that eventually rely on specific
features of fossil/bzr?

  • 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-13T06:57:19+00:00Added an answer on May 13, 2026 at 6:57 am

    Use bzr shelve and bzr unshelve commands.

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

Sidebar

Related Questions

I was wondering if it's possible to emulate a big-endian behavior, for testing purpose?
Is it possible to completely emulate the behavior of a GridLayout with the GridBagLayout
Is it possible to emulate incoming messages using Indy (if it's of any importance:
Is it possible to emulate the System V primitive semctl(semid,0,GETPID,0) in an environment using
Is it possible to emulate a device sleeping and waking using the Microsoft-supplied device
Is it possible to emulate boot from flash memory using qemu-system-arm ? (Using Integrator/CP
Is it possible to emulate possessive quantifiers (.NET doesn’t support it) using atomic grouping
Is it possible to run a MySQL query using jQuery? I'm trying to emulate
Is it possible to emulate the following MySQL query: SELECT * FROM `tbl` ORDER
It is possible to create or emulate a virtual directory using C# for load

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.