If I update the source code, would I lose my work?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Lüv
Prole
Posts: 29
Joined: Fri Oct 19, 2012 11:24 pm
Location: Greenville, South Carolina

If I update the source code, would I lose my work?

Post by Lüv »

I am currently using the 0.8.0 Source Code. When 0.8.1 is released, would I lose my work if I update for 0.8.1?

P.S. (I would update with mercurial)
Last edited by Lüv on Sat Oct 20, 2012 8:49 pm, edited 2 times in total.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: If I update the source code, would I lose my work?

Post by Nixola »

Yup, you'd have to make the same modification to 0.8.1 code and compile again
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Lüv
Prole
Posts: 29
Joined: Fri Oct 19, 2012 11:24 pm
Location: Greenville, South Carolina

Re: If I update the source code, would I lose my work?

Post by Lüv »

Ok, thanks because if I wouldnt have known that I would have lost ALL my work when it comes out.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: If I update the source code, would I lose my work?

Post by Robin »

Wait, no. What is "your work"? Modifications to the LÖVE code? You can just merge the new version of LÖVE with your changes. This will be easy if you use Mercurial.
Help us help you: attach a .love.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: If I update the source code, would I lose my work?

Post by Nixola »

...Wait, I thing I got confused by another topic ^^'
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Lüv
Prole
Posts: 29
Joined: Fri Oct 19, 2012 11:24 pm
Location: Greenville, South Carolina

Re: If I update the source code, would I lose my work?

Post by Lüv »

So it is possible to continue your work on the newer version with out losing it? I do use mercurial. Yes my work is modifications to love. How do I do it if possible. For later use
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: If I update the source code, would I lose my work?

Post by Robin »

Just run hg update and hg merge or something like that. Refer to the Mercurial documentation for how to do it exactly and to see what you need to consider.
Help us help you: attach a .love.
User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: If I update the source code, would I lose my work?

Post by Ensayia »

Are you talking about edits to the LOVE source or edits to a LOVE project? For the former, you would need to merge changes from the repo and for the latter just check that your functions all conform to the new standards.
Lüv
Prole
Posts: 29
Joined: Fri Oct 19, 2012 11:24 pm
Location: Greenville, South Carolina

Re: If I update the source code, would I lose my work?

Post by Lüv »

I'm talking about the source and thanks Robin
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: If I update the source code, would I lose my work?

Post by qaisjp »

Anyway if you have something interesting contributed to the source code, why not post a pull request and make LOVE better?
Lua is not an acronym.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 10 guests